27.07.2013, 16:13
Is it like this?
And please show us the line the error comes from.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/acords", cmdtext, true) == 0) // it's not 10 lenght...
{
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;
}
}
}
// more commands
return 0;
}