Quote:
Originally Posted by Dwane
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 }
|
Sorry yea, gVariable and pVariable is the same variable, Its not actually named that in my script i was just naming it that because i didn't want any hints of what my script is as i think its quite unique atm, Also it seems everything matches what you just put, However im still getting the undefined symbol error :S