Raised This Month: $ Target: $400
 0% 

JB Vip Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
JoaoVieira
Senior Member
Join Date: May 2013
Location: Portugal
Old 02-05-2016 , 11:34   Re: JB Vip Plugin
Reply With Quote #3

Quote:
Originally Posted by wickedd View Post
PHP Code:
public player_spawn(idgMenu[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

Last edited by JoaoVieira; 02-05-2016 at 11:34.
JoaoVieira is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode