Undefined symbol
#9

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
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: 1 Guest(s)