Raised This Month: $ Target: $400
 0% 

After the restart give_item (id, "weapon_knife"); Does not work


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mahmoodi.1313
Senior Member
Join Date: Aug 2014
Location: Steamboat Springs, USA
Old 05-01-2015 , 05:07   After the restart give_item (id, "weapon_knife"); Does not work
Reply With Quote #1

Hi
After the restart give_item (id, "weapon_knife"); Does not work .
PHP Code:
public knife(idlevelcid)
{
if(
cmd_access(id,levelcid1))
{
    new 
name[32]
    
get_user_info(id"name"name31)
    
strip_user_weapons(id)
        
give_item(id,"weapon_knife");
    
server_cmd("sv_restart 2");
    
server_cmd("sv_restart 3");
}
return 
PLUGIN_HANDLED

I need server_cmd("sv_restart 2"); , server_cmd("sv_restart 3"); and give_item(id,"weapon_knife");
mahmoodi.1313 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 20:14.


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