Question on read_data()
Some reason i get an error on the line that is bolded
(code from that unlimited ammo from mini-midget.) PHP Code:
PHP Code:
PHP Code:
edit: I added in the whole plugin and it worked fine but when i strip out the whole primary nade and c4 part i get errors any idea why |
Re: Question on read_data()
PHP Code:
Code:
/* Id of weapons in CS */PHP Code:
You could do something like this : PHP Code:
|
Re: Question on read_data()
Problem is solved thanks though due to the fact that it checks all of the weapon id's you cant only have pistols there so i disabled the check of all primary weapons and just have it doing secondary weapons it works now.
Next i have to redo my virtual reality stuff. |
Re: Question on read_data()
For pistol infinite ammo you can do this :
PHP Code:
|
Re: Question on read_data()
Get an error on the fm_cs_set_weapon_ammo(iEnt, iMaxClip)
saying number of arguments dosent match definition |
Re: Question on read_data()
Fixed.
|
Re: Question on read_data()
Quote:
PHP Code:
|
Re: Question on read_data()
Removed "static iMaxClip".
And fixed maxclip != maxbpammo |
Re: Question on read_data()
Quote:
ill have to try again since its 4am here and i havent slept ahahahaha Ok so i tested and it didnt do any thing. i give weapons through menu. so not sure if that's an issue |
| All times are GMT -4. The time now is 17:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.