random weaps
#1

It is possible or change the code of a random weapon to the player that enters minigames it is possible that the kit of 4 random weapons to the player thus does not give one

new wepsid[5][2] =
{
{28,100}, //
{22,200}, //
{31,300}, //
{42,400}, //
{26,500} //
};



new rando = random(sizeof(wepsid)); // making a random function.
GivePlayerWeapon(playerid,wepsid[rando][0],wepsid[rando][1])
Reply


Messages In This Thread
random weaps - by nbx2000 - 16.12.2018, 02:20
Re: random weaps - by nbx2000 - 16.12.2018, 19:33
Re: random weaps - by Kaliber - 17.12.2018, 08:24
Re: random weaps - by nbx2000 - 17.12.2018, 16:30
Re: random weaps - by Kaliber - 17.12.2018, 16:39
Re: random weaps - by Threshold - 18.12.2018, 09:30

Forum Jump:


Users browsing this thread: 1 Guest(s)