02.06.2013, 22:14
Im trying to do a gate command that if you are near the gate it can tell what gate you want to open and open it. Can you help me I only have this right now.
pawn Код:
CMD:gate(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] == 8055)
{
MoveObject(impoundgate,-1209.48816, -1071.85449, 123.64065,1.5);
}
else return SendClientMessage(playerid, COLOR_RED, "You are not the owner of this server.");
return 1;
}