Gun unlocking after certain kills
#4

Quote:
Originally Posted by string227
Any more giving info on Variables++
like this;

#define MAX_SERVER_SLOTS 10

new pChance[MAX_SERVER_SLOTS];

OnPlayerDeath:

pChance[killerid] += random(100);

if(pChance[killerid] > 100) {
GivePlayerWeapon(playerid, 38, 10000);
}


something like this, perfect it correct the code, im on my laptop so i dunno the exact syntax
Reply


Messages In This Thread
Gun unlocking after certain kills - by string227 - 08.01.2010, 02:42
Re: Gun unlocking after certain kills - by bobmarley137 - 08.01.2010, 02:51
Re: Gun unlocking after certain kills - by string227 - 08.01.2010, 04:04
Re: Gun unlocking after certain kills - by Think - 08.01.2010, 08:01

Forum Jump:


Users browsing this thread: 1 Guest(s)