Raised This Month: $ Target: $400
 0% 

get user ammo?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-26-2009 , 07:14   get user ammo?
Reply With Quote #1

searched, but found nothing.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
BOYSplayCS
BANNED
Join Date: Apr 2008
Location: Gainesville, FL
Old 03-26-2009 , 07:15   Re: get user ammo?
Reply With Quote #2

PHP Code:
get_user_ammo indexweapon, &clip, &ammo 
BOYSplayCS is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-26-2009 , 07:21   Re: get user ammo?
Reply With Quote #3

Quote:
Originally Posted by BOYSplayCS View Post
PHP Code:
get_user_ammo indexweapon, &clip, &ammo 
lol. its to high 4 me.

i want to check if player has <5 ammo. its bullshit which weapon.

if player has only 5 ammo or less, do code....
somthing like this

if get_user_ammo(id, xxx?, xxx) <= 5
?? right ????
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 03-26-2009 , 07:44   Re: get user ammo?
Reply With Quote #4

No this is how to use the function:

PHP Code:
new clip,ammo
get_user_ammo
(id,CSW_AK47,clip,ammo)
if (
ammo <= 5)
{
// do stuff

__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-26-2009 , 07:52   Re: get user ammo?
Reply With Quote #5

TY, compiles perfect, must just test if this works.
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
Reply



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 08:53.


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