05.06.2014, 12:09
Dunno why everyone's code is so messy. This is the cleanest I can do:
pawn Код:
CMD:mission(playerid,params[])
{
new playerState = GetPlayerState(playerid);
if (playerState != PLAYER_STATE_ONFOOT)
{
SendClientMessage(playerid, COLOR_RED, "Error: You must be on foot to use this command.");
return 1;
}
TextDrawShowForPlayer(playerid,mission);
TextDrawShowForPlayer(playerid,mission1);
TextDrawShowForPlayer(playerid,mission2);
return 1;
}