Raised This Month: $ Target: $400
 0% 

show kill count and play kill sound


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
RuRuRu612754
Senior Member
Join Date: Sep 2011
Old 06-29-2012 , 03:26   Re: show kill count and play kill sound
Reply With Quote #3

Quote:
Originally Posted by Liverwiz View Post
Code:
        client_print(iKiller, print_center, "You %s kill", kill_num[iKiller]) 
        client_cmd(iKiller, "spk amxx_sound/kill%s.wav", kill_num[iKiller])

PHP Code:
        client_print(iKillerprint_center"You %d kill"kill_num[iKiller]) 
        
client_cmd(iKiller"spk ^"amxx_sound/kill%d.wav^""kill_num[iKiller]) 
%s displays a string. You want to display a decimal/int/number (%d)
You gotta put the file path within quotes.

I miss easy and simple
Thanks
RuRuRu612754 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 15:12.


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