Quote:
Originally Posted by E_Man
I don't get why I need to compare variables,
|
When I say comparing variables, this also counts for checking to see if one variable is equal to a numerical value.
Quote:
Originally Posted by E_Man
also would client.variable work for global flags?
|
It would work yes, but this is a functionality designed to save variables permanently for online usage, which doesn't apply here.
It should be fine to do:
PHP Code:
//Weapon
bomb = 1;
//NPC
if(bomb == 1){
}