[help]Hitman - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [help]Hitman (
/showthread.php?tid=280169)
[help]Hitman -
Prokill - 30.08.2011
Please I need advice I want to do that when someone on the server lists to players / hitman that he could turn out just who is employed in occupations killer
And do not know where I have to throw the condition please consult
Here is some code hitman
Quote:
if(p_info[playerid][hitman] > 0)
{
if(byl_to_carkill == 0)
{
new string[180];
format(string, 180, "[ HITMAN ] Profesionalnн zabijбk %s dostal odměnu za dopadenн hrбče %s ! %d$", name(killerid), name(playerid), p_info[playerid][hitman]);
SCMA(bila, string);
GivePlayerMoney(killerid, p_info[playerid][hitman]);
p_info[playerid][hitman] = 0;
}
}
|
A command normally, need to write the condition of jails
Quote:
if(p_info[playerid][id_povolani] == J_zabijak)
|
Where should I put it?
Thank you very much!