Raised This Month: $ Target: $400
 0% 

How to save the weapons of a player and give them again in another round?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 04-12-2009 , 21:12   Re: How to save the weapons of a player and give them again in another round?
Reply With Quote #4

PHP Code:
new weapons[32],weapnum,weapid,weapname[32]

/*save weapons*/
get_user_weapons(id,weapons,weapnum)



/*Load weapons*/
for(new 0weapnumi++)
{
    
weapid weapons[i];
    
get_weaponname(weapid,weapname,31)
    
give_item(id,weapname)

__________________
Find my plugins here..

Ex - Spanish Moderator.
Starsailor 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 02:24.


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