27.07.2013, 16:09
Made it to ZCMD, do not forget to #include <zcmd>
Sorry if you don't want in ZCMD but it's seriously easier..
EDIT: Are you sure you got an enum for pAdmin? And the player info and all?
pawn Код:
CMD:acords(playerid, params[])
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] >= 3)
{
SendClientMessage(playerid, COLOR_WHITE, "Cordinates Menu [/gotoco]");
SendClientMessage(playerid, COLOR_WHITE, "Gotham City: 2203.3160 -5787.8170 13.3400 360.0000");
}
}
return 1;
}
EDIT: Are you sure you got an enum for pAdmin? And the player info and all?

