13.12.2010, 01:47
Ok, i have a /stopwork command, but when i enter it, it works fine but says SERVER: Invalid Command. Here it is.
pawn Код:
if(!strcmp("/stopwork", cmdtext, true))
{
CancelPlayersCurrentMission(playerid);
new string[100];
format(string, sizeof(string),"To start a mission type /work");
TextDrawShowForPlayer ( playerid, mission [ playerid ] );
TextDrawSetString(mission [ playerid ],string);
}