Raised This Month: $ Target: $400
 0% 

What's wrong with this code?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Evaldas.Grigas
Senior Member
Join Date: Sep 2011
Location: Lithuania
Old 09-30-2011 , 08:44   Re: What's wrong with this code?
Reply With Quote #7

No. It should be like this (am I right?):
PHP Code:
public fwHamPlayerSpawnPost(id) {

    if(
is_user_alive(id) && get_user_flags(id) & ADMIN_LEVEL_H)
    {
    
give_item(id"weapon_hegrenade");
    
give_item(id"weapon_flashbang");
    
give_item(id"weapon_flashbang");
    
give_item(id"weapon_smokegrenade");
    
give_item(id"item_assaultsuit");
    
give_item(id"item_thighpack");
    }

It compiles no errors. Your compiles with errors.
Evaldas.Grigas is offline
Send a message via Skype™ to Evaldas.Grigas
 



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 19:34.


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