Opis: ubacivo sam komandu xgoto i izbaci mi ove errore
C:\Users\Sanelko\Desktop\City Life RolePlay v2.0\gamemodes\CLRP.pwn(27436) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Users\Sanelko\Desktop\City Life RolePlay v2.0\gamemodes\CLRP.pwn(27437) : error 017: undefined symbol "params"
C:\Users\Sanelko\Desktop\City Life RolePlay v2.0\gamemodes\CLRP.pwn(27444) : warning 217: loose indentation
C:\Users\Sanelko\Desktop\City Life RolePlay v2.0\gamemodes\CLRP.pwn(27446) : error 017: undefined symbol "SafeSetPlayerPos"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.komanda koju sam ubacijo je ova
if(strcmp(cmd, "/xgoto", true) == 0)
{
if(PlayerInfo >= 5)
{
new Float:x, Float:y, Float:z;
new string;
if (sscanf(params, "fff", x, y, z)) SendClientMessage(playerid, 0xFF0000AA, "Korištenje: \"/xgoto \"");
else
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehiclePos(GetPlayerVehicleID(playerid), x,y,z);
}
else
{
SafeSetPlayerPos(playerid, x, y, z);
}
format(string, sizeof(string), "Postavili ste koordinate na %f, %f, %f", x, y, z);
SendClientMessage(playerid, 0xBBBBBBAA, string);
}
}
return 1;
} sta nece da radi errori neki mi dolaze sta je ovo pomozite mi!!!EDIT:errori su u ovim linijama dje je komanda stavita
