Making a pScore add 2 (not 1)
#7

PHP код:
enum pInfo{
    
pkills,
    
ppoints,
    
pdeaths
}
new 
PlayerInfo[MAX_PLAYERS][pInfo]; 
later on OnPlayerDeath->
PHP код:
if blablablabla{
   
PlayerInfo[playerid][pdeaths] ++;
   
PlayerInfo[killerid][pkills] ++;
   
Playerinfo[killerid][ppoints] += 2
Reply


Messages In This Thread
Making a pScore add 2 (not 1) - by stormchaser206 - 30.04.2012, 23:24
Re: Making a pScore add 2 (not 1) - by Luis- - 30.04.2012, 23:25
Re: Making a pScore add 2 (not 1) - by antonio112 - 30.04.2012, 23:26
Re: Making a pScore add 2 (not 1) - by stormchaser206 - 30.04.2012, 23:27
Re: Making a pScore add 2 (not 1) - by Luis- - 30.04.2012, 23:33
Re: Making a pScore add 2 (not 1) - by Face9000 - 30.04.2012, 23:33
AW: Making a pScore add 2 (not 1) - by Blunt P - 30.04.2012, 23:34
Re: Making a pScore add 2 (not 1) - by MP2 - 30.04.2012, 23:48
Respuesta: Making a pScore add 2 (not 1) - by Marricio - 01.05.2012, 00:06
Re: Making a pScore add 2 (not 1) - by admantis - 01.05.2012, 00:06

Forum Jump:


Users browsing this thread: 1 Guest(s)