How to make a ERROR Message?
#6

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;
}
Reply


Messages In This Thread
How to make a ERROR Message? - by [Cali]ChrOnic_T - 05.06.2014, 11:50
Re: How to make a ERROR Message? - by TheSimpleGuy - 05.06.2014, 11:52
Re: How to make a ERROR Message? - by PrivatioBoni - 05.06.2014, 11:55
Re: How to make a ERROR Message? - by AIped - 05.06.2014, 11:58
Re: How to make a ERROR Message? - by Rittik - 05.06.2014, 12:00
Re: How to make a ERROR Message? - by PrivatioBoni - 05.06.2014, 12:09

Forum Jump:


Users browsing this thread: 1 Guest(s)