How to make a ERROR Message?
#4

EDIT: do the playerstate part as PrivatioBoni showed
pawn Код:
CMD:mission(playerid,params[])
{
new playerState = GetPlayerState(playerid);
 
if (playerState != PLAYER_STATE_ONFOOT) return SendClientMessage(playerid, COLOR_RED, "Error: You must be on foot to use this command.");
  else
  {
  if(IsPlayerSpawned(playerid))
  {
    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: 5 Guest(s)