Raised This Month: $ Target: $400
 0% 

Adding ammo to weapon


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 12-10-2011 , 14:47   Adding ammo to weapon
Reply With Quote #1

Something is wrong in this code, and I don't know what :/

PHP Code:
public PlayerKilled(victimattackershouldgib)
{
    new 
iWeapon get_user_weapon(attacker__);
    
cs_set_weapon_ammo(iWeaponcs_get_weapon_ammo(iWeapon) + 1)

Also a question, how to detect with what weapon Attacker killed victim ?

Last edited by reinert; 12-10-2011 at 14:48.
reinert 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 11:51.


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