Fasted way?
#4

Alright it seems more like i'm not able to really get the point of what you want lol. You're wanting to have a global message disaplayed whenever the player gains +1 wanted level?

Код:
if(GetPlayerWantedLevel(playerid) != 0)
    {
	new wantedlevel;
    new string [100];
    new pName[MAX_PLAYER_NAME];
	if(GetPlayerWantedLevel(playerid) == 1) { wantedlevel = 1; }
	if(GetPlayerWantedLevel(playerid) == 2) { wantedlevel = 2; }
	if(GetPlayerWantedLevel(playerid) == 3) { wantedlevel = 3; }
	if(GetPlayerWantedLevel(playerid) == 4) { wantedlevel = 4; }
	if(GetPlayerWantedLevel(playerid) == 5) { wantedlevel = 5; }
	if(GetPlayerWantedLevel(playerid) == 6) { wantedlevel = 6; }
	GetPlayerName(playerid, pName, sizeof(pName));
    format(string, sizeof(string), "%s has now wanted level %d.", pName, wantedlevel);
    SendClientMessageToAll(COLOR_ORANGE, string);
    new str[100];
    format(str,sizeof str,"0,4%s has now wanted level %d.", pName, wantedlevel);
    IRC_GroupSay(gGroupID, IRC_CHANNEL, str);
    }
just an example, ^ but should work.
Reply


Messages In This Thread
Fasted way? - by Face9000 - 25.12.2010, 14:17
AW: Fasted way? - by EthanR - 25.12.2010, 14:19
Re: Fasted way? - by Face9000 - 25.12.2010, 14:21
AW: Fasted way? - by EthanR - 25.12.2010, 14:27
Re: Fasted way? - by Jochemd - 25.12.2010, 14:31
Re: Fasted way? - by Face9000 - 25.12.2010, 14:37
Re: Fasted way? - by Mike_Peterson - 25.12.2010, 14:44
Re: Fasted way? - by Face9000 - 25.12.2010, 16:41
Re: Fasted way? - by Ricop522 - 26.12.2010, 14:34
Re: Fasted way? - by Joe Staff - 26.12.2010, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)