Raised This Month: $51 Target: $400
 12% 

API Scripting Help Need help with code


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
asdfdsdf
AlliedModders Donor
Join Date: Aug 2010
Location: Belgium
Old 12-03-2013 , 04:46   Need help with code
Reply With Quote #1

Hello i have a plugin on my zombie server when you infect someone you get points it shows the points when you infect someone in hudmessage that works fine heres the code i use for it

PHP Code:
set_dhudmessage(25500, -1.00.201.03.00.11.0
    
show_dhudmessage iInfector"+%iPoints"POINTS_INFECT 
But how can i make when someone uses a infect bomb and gets more then 1 player 4/5 lets say it will show up like this e.g.

PHP Code:
+3Points
+3points
+3Points
+3Points 
I searched everywhere but i cant find nothing how to show this with dhudmessage Now it only shows 1 time the +3Points when you infect more then 1 people thx in advance

Last edited by asdfdsdf; 12-03-2013 at 04:59.
asdfdsdf is offline
Catastrophe
Veteran Member
Join Date: Jul 2012
Location: somewhere between narnia
Old 12-03-2013 , 09:39   Re: Need help with code
Reply With Quote #2

Give the entire .sma , its possible to set such messages if u call the rit thing in zp_fw_core_infect_post(id) .....
__________________
You will find everything u need :-
Catastrophe is offline
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 17:21.


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