Quote:
Originally Posted by wickedd
PHP Code:
public player_spawn(id) gMenu[id] = false
public cmdVmenu(id) { if(gMenu[id]) { client_printc(id, "%s Tu ja usas-te o !gVIP Menu!n esta ronda. So consegues usar na proxima ronda outravez.", PREFIX); } else { client_printc(id, "%s So os !gVIP's!n e que conseguem usar este !gmenu vip!n", PREFIX); return PLUGIN_HANDLED; }
The second statement will always be true because you're setting gMenu to false when the player spawn. In fact, it will always be false period because you never set it to true anywhere in the plugin.
|
yes , i did that before and it didnt work too , idk why , but now i recreated again and it work's, thanks