Raised This Month: $ Target: $400
 0% 

ts_getuserwpn


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mysticssjgoku4
Veteran Member
Join Date: Jan 2005
Location: Chicago Heights, IL
Old 08-21-2005 , 09:36   ts_getuserwpn
Reply With Quote #1

Well. I was wondering, how do I get the GUNID as well?
It gives me this.

Code:
   // Get some of their current settings    new currclip, currammo, currmode, currextra;    ts_getuserwpn(id,currclip,currammo,currmode,currextra);    set_pdata_int(tsgun,tsweaponoffset[weapon],ammo); // set their ammo    // Grenade or knife, set clip    if(weapon == 24 || weapon == 25 || weapon == 35) {      set_pdata_int(tsgun,41,ammo); // special clip storage      set_pdata_int(tsgun,839,ammo); // more special clip storage      currclip = ammo; // change what we send to WeaponInfo      ammo = 0; // once again, change what we send to WeaponInfo    }    else { // Not a grenade or knife, set ammo      set_pdata_int(tsgun,850,ammo); // special ammo storage    }

I mean I got it to give me the clip, ammo, mode, extras. IT works fine, but how do I get it to give me the gunid, seperately? Thanks.
__________________

mysticssjgoku4 is offline
Send a message via AIM to mysticssjgoku4 Send a message via MSN to mysticssjgoku4
 



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


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