Hey @ll
Habe ein kleines größeres Problem mit mein LoH edit undzwar kommen diese Fehler..:
C:\Users\Marcel Hesselbach\Desktop\Sauberer Server\pawno\include\noDMv4.inc(96) : warning 219: local variable "x2" shadows a variable at a preceding levelC:\Users\Marcel Hesselbach\Desktop\Sauberer Server\pawno\include\noDMv4.inc(96) : warning 219: local variable "y2" shadows a variable at a preceding levelC:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(74) : error 021: symbol already defined: "ID"C:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(2441) : warning 219: local variable "x2" shadows a variable at a preceding levelC:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(2441) : warning 219: local variable "y2" shadows a variable at a preceding levelC:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(2441) : warning 219: local variable "z2" shadows a variable at a preceding levelC:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(4456) : error 017: undefined symbol "MoneySpam"C:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(4456) : warning 215: expression has no effectC:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(4456) : error 001: expected token: ";", but found "]"C:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(4456) : error 029: invalid expression, assumed zeroC:\Users\Marcel Hesselbach\Desktop\Sauberer Server\gamemodes\NeR.pwn(4456) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Die Error zeilen sind:
enum FGPS{ ID, Float: LocationX, Float: LocationY, Float: LocationZ, PlaceName[128]}; // <<---- 74
public Float:GetDistanceBetweenPlayers(p1,p2){ new Float:x1,Float:y1,Float:z1,Float:x2,Float:y2,Float:z2; if(!IsPlayerConnected(p1) || !IsPlayerConnected(p2)) { return -1.00; } GetPlayerPos(p1,x1,y1,z1); // <-- zeile 2441 GetPlayerPos(p2,x2,y2,z2); return floatsqroot(floatpower(floatabs(floatsub(x2,x1)),2)+floatpower(floatabs(floatsub(y2,y1)),2)+floatpower(floatabs(floatsub(z2,z1)),2));}
MoneySpam[playerid] = 0; <-- zeile 4456
Hoffe ihr könnt das Problem lösen weil ich sehe da kein Fehler