Raised This Month: $ Target: $400
 0% 

Bot Name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 01-30-2007 , 14:52   Re: Bot Name
Reply With Quote #1

Code:
new kname[32], vname[32] get_user_name(killer, kname, 31) get_user_name(victim, vname, 31)

That will return bot names.

I would guess your problem lies in the get_user_info part.

Since bots dont have the same client info structures as real players.
organizedKaoS is offline
Blue One
Junior Member
Join Date: May 2006
Location: Germany , Sarlhusen
Old 01-30-2007 , 16:28   Re: Bot Name
Reply With Quote #2

I Got it now Guys i take it so look at my Code , and that works Fine thanks for your Help organizedKaoS

Code:
public client_death ( killer, victim, wpnindex, hitplace, TK)
{
	new name_of_attacker[100]
	get_user_name(killer,name_of_attacker,99)
	set_hudmessage(0, 255, 255, -1.0, -1.0, 0, 6.0, 12.0)
	show_hudmessage(victim,"--- You was been killed from %s ---",name_of_attacker)
}
__________________
Scripter of the ; Lord of the Rings and Hunter/Hunted Mod

iam search some Testers here

Helpfulideas was been Sponsored of Peoples of my 10th Schoolclass in Germany.... Big Thanks here
Blue One is offline
Send a message via ICQ to Blue One Send a message via MSN to Blue 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 00:35.


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