336 ocmd:goto
337 {
338 new Float:x, Float:y, Float:z,pID,name[MAX_PLAYER_NAME];
339 GetPlayerName(playerid, name, sizeof(name));
340 if(sscanf(params,"u",pID))return SendClientMessage(playerid,ERRORTEXT,"Server: Verwendung /goto [playerid/Spielername] !");
341 if(!IsPlayerConnectet,pID))return SendClientMessage(Playerid,ERRORTEXT,"Server: Der Spieler ist nicht online !");
342 GetPlayerPos(pID, x, y, z);
343 SetPlayerPos(playerid, x, y, z);
344 SendClientMessage(playerid,GREEN,"Du hast dich zu %s teleportiert !",name);
345 return 1;
346 }
ZitatAlles anzeigenC:\Users\Leon\Desktop\GTA Stuff\FSX\pawno\include\sscanf2.inc(199) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(336) : error 020: invalid symbol name ""
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(339) : error 021: symbol already defined: "GetPlayerName"
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(340) : error 010: invalid function or declaration
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(341) : error 010: invalid function or declaration
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(345) : error 010: invalid function or declaration
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(350) : warning 219: local variable "pID" shadows a variable at a preceding level
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(350) : warning 219: local variable "name" shadows a variable at a preceding level
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(376) : warning 203: symbol is never used: "name"
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(376) : warning 203: symbol is never used: "pID"
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(376) : warning 203: symbol is never used: "x"
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(376) : warning 203: symbol is never used: "y"
C:\Users\Leon\Desktop\GTA Stuff\FSX\gamemodes\Beckziii.pwn(376) : warning 203: symbol is never used: "z"