04.12.2012, 19:41
You need to define them. I am also a bit confused with pVariable and gVariable . Is this for the same use or different? Moreover, if you need to increase a variable by one per player you need to define it as the following.
pawn Код:
new
pVariable[ MAX_PLAYERS ]
;
// On command
pVariable[ playerid ]++;
// In case you need to check if it is equal to 1
if( pVariable[ playerid ] == 1 )
{
// code
}