03.04.2016, 04:20
Hi. I'm getting a warning when I try to compile.
The line that it is on, is:
My whole script if needed is:
Thanks in advance.
Код:
warning 213: tag mismatch
PHP код:
format(string, 128, "Admin Log: %s has map teleported to %s.", playername, Zones);
PHP код:
public OnPlayerClickMap(playerid,Float:fX,Float:fY,Float:fZ)
{
new playername[25], string[128];
if(AdminLevel[playerid]>2)
{
if(IsPlayerInAnyVehicle(playerid)){SetVehiclePos(GetPlayerVehicleID(playerid),fX,fY,fZ+5);}
else{SetPlayerPosFindZ(playerid,fX,fY,fZ+5);}
format(string, 128, "Admin Log: %s has map teleported to %s.", playername, Zones);
SendMessageToAdmins(COLOR_ADMIN, string);
}
return 1;
}