Raised This Month: $ Target: $400
 0% 

add message


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
anakonda001
Member
Join Date: Jul 2020
Old 09-01-2020 , 02:51   Re: add message
Reply With Quote #7

Quote:
Originally Posted by fysiks View Post
DJEarthQuake's code is quite wrong but your original code is very close to being correct. Where you currently have "available only to VIP players!" you should put "available from round 2!". Then, you need to add an else case for your access check if statement that says "available only to VIP players!".

PHP Code:
if(get_user_flags(id) & ACCESS_FLAG)
{
    if(
g_RoundNum >= 2)
    {
        
drop_weapons(id1);
        
IsUserHaveAwp[id] = true;
        
give_item_ex2(id"weapon_awp"30trueIMPULSE);
    }
    else
    {
        
client_print(idprint_center"available only to VIP players!");
    }

This formatting should make it easier to understand my answer in the first paragraph.
what the code should look like, please tell me
anakonda001 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 13:46.


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