03.09.2014, 16:38
new AdminDuty[MAX_PLAYERS];
warning 211: possibly unintended assignment
warning 211: possibly unintended assignment
pawn Код:
public OnPlayerClickMap(playerid, Float:fX, Float:fY, Float:fZ)
{
if(AdminDuty[playerid] = 0) return SendClientMessage(playerid,COLOR_YELLOW,"You need to be onduty to use this command");
if(Player[playerid] [pAdmin] >=1)
{
SetPlayerPosFindZ(playerid,fX,fY,fY);
}
else
{
SendClientMessage(playerid,COLOR_YELLOW,"[SERVER]:GPS Location marked in map.");
}
return 1;
}