Help ?
#4

Code where is 183 line:
Код:
public SetPlayerSpawn(playerid)
{
		if (PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLeader] == 1)//USA spawn
		{
		    SetPlayerInterior(playerid, 0);
		    SetPlayerPos(playerid, 2729.5417,-2452.9534,17.5937);
		    PlayerInfo[playerid][pInt] = 0;
		    return 1;
		}
	return 0;
}
Command /radio:

Код:
	COMMAND:radio(playerid,params[])
	{
			    new sendername[MAX_PLAYER_NAME];
			    new string[128];
  				if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "*USA Vojnik %s: %s", sendername, result);
				else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "*USA Vojnik %s: %s", sendername, result);
				else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "*USA Zapovjednik %s: %s", sendername, result);
				else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "*USA Zapovjednik %s: %s", sendername, result);
				else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "*USA Zapovjednik %s: %s", sendername, result);
				else if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "*USA General %s: %s", sendername, result);
				{
					format(string, sizeof(string), "** %s(radio): %s, prijem. **", sendername, result);
				}
				ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
				SendRadioMessage(5, TEAM_RADIO_COLOR, string);
				printf("%s", string);
				return 1;
	}
	return 0;
}
BTW, thanks for error on 201 line.
Reply


Messages In This Thread
Help ? - by SpaMaster - 27.07.2012, 14:12
Re: Help ? - by TheDeath - 27.07.2012, 14:30
Re: Help ? - by Devilxz97 - 27.07.2012, 14:32
Re: Help ? - by SpaMaster - 27.07.2012, 14:37
Re: Help ? - by SpaMaster - 27.07.2012, 14:39
Re: Help ? - by SpaMaster - 27.07.2012, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)