need help with a command
#1

heres the command i need help with when i use it all it does in game is show nothing. like it working but there is no text


Код:
	if(strcmp(cmd, "/10-49", true) == 0)
	{
		  if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLeader] == 4)
			{
   			new String[256];
			  if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "** LAFD Dispatch: Unit: #%d is Enroute to the scene. **", sendername, PlayerInfo[playerid][pBadgeNumber]); }
        else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "** LAFD Dispatch: Engine: #%d is Enroute to the scene. **", sendername, PlayerInfo[playerid][pBadgeNumber]); }
        else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "** LAFD Dispatch: Engine: #%d is Enroute to the scene. **", sendername, PlayerInfo[playerid][pBadgeNumber]); }
        else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "** LAFD Dispatch: Engine: #%d is Enroute to the scene. **", sendername, PlayerInfo[playerid][pBadgeNumber]); }
        else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "** LAFD Dispatch: EMS: #%d is Enroute to the scene. **", sendername, PlayerInfo[playerid][pBadgeNumber]); }
        else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "** LAFD Dispatch: EMS: #%d is Enroute to the scene. **", sendername, PlayerInfo[playerid][pBadgeNumber]); }
   			SendRadioMessage(1, COLOR_DBLUE, String);
  			SendRadioMessage(4, COLOR_RED, String);
		}
		return 1;
	}
Reply


Messages In This Thread
need help with a command - by D_Clark - 18.02.2010, 01:21
Re: need help with a command - by Anwix - 18.02.2010, 01:37
Re: need help with a command - by D_Clark - 18.02.2010, 01:41
Re: need help with a command - by Daren_Jacobson - 18.02.2010, 01:43
Re: need help with a command - by D_Clark - 18.02.2010, 01:44
Re: need help with a command - by Anwix - 18.02.2010, 01:47
Re: need help with a command - by Daren_Jacobson - 18.02.2010, 02:17

Forum Jump:


Users browsing this thread: 1 Guest(s)