Raised This Month: $ Target: $400
 0% 

get_user_name help


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
r4ndomz
Senior Member
Join Date: Jul 2009
Location: The Hood
Old 02-03-2010 , 20:41   Re: get_user_name help
Reply With Quote #5

Quote:
Originally Posted by Mxnn View Post
Killer and Victim are 2 id's.
You must put 2 arrays that will contain the killers & victims name.
As fysiks said, you have to put:


In get_user_name, instead of id you have to put Killer to get the Killer's name and put again the stuff but instead of Killer, put Victim.
Stuff will be this:
PHP Code:
new szVictimName[32], szKillerName[32]
get_user_name(VictimszVictimNamecharsmax(szVictimName))
get_user_name(KillerszKillerNamecharsmax(szKillerName))
client_print(0print_chat"Killer : %s, Victim: %s"szKillerNameszVictimName
Ok so i tried that, and now it shows:
>cNs< HideNseek *Is Back* killed >cNs< HideNseek *Is Back
__________________
HideNSeek bug fixed here:http://forums.alliedmods.net/showpos...&postcount=951

PM me if you want a nice HideNSeek shop
NEED PLUGIN TESTERS PM ME
r4ndomz is offline
Send a message via Skype™ to r4ndomz
 



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 07:28.


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