Undefined symbol
#8

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
}
Reply


Messages In This Thread
Undefined symbol - by Lz - 04.12.2012, 19:16
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:28
Re: Undefined symbol - by Cxnnor - 04.12.2012, 19:29
Re: Undefined symbol - by Bakr - 04.12.2012, 19:29
Re: Undefined symbol - by Lz - 04.12.2012, 19:30
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:33
Re: Undefined symbol - by Lz - 04.12.2012, 19:36
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:41
Re: Undefined symbol - by Lz - 04.12.2012, 19:48
Re: Undefined symbol - by Konstantinos - 04.12.2012, 19:52

Forum Jump:


Users browsing this thread: 2 Guest(s)