SA-MP Forums Archive
Curtain Amount Of Kills = Curtain Weapons - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Curtain Amount Of Kills = Curtain Weapons (/showthread.php?tid=163069)



Curtain Amount Of Kills = Curtain Weapons - Garc1a - 25.07.2010

Can someone help me make it so that if someone has say..

0 kills they spawn with a deagle with 300 ammo and a knife
and
50 kills they spawn with a deagle with 300 ammo a shotgun with 500 ammo and a knife

Please, if you can.

Much appreciated.


Re: Curtain Amount Of Kills = Curtain Weapons - [L3th4l] - 25.07.2010

There is a filterscript ( i think by Sandra ) search for it. That is what you are asking for.


Re: Curtain Amount Of Kills = Curtain Weapons - ScottCFR - 26.07.2010

Код:
if(PlayerInfo[playerid][Kills] == 0)
{
// code here
}
if(PlayerInfo[playerid][Kills] == 50)
{
// code here
}
It's actually a very simple system. Just you gotta decide weather to put it on a timer on under OnPlayerUpdate. (Timer is recommended for resources )