View Full Version : auto commossend
Iamacheater
2nd August 2005, 21:21
uscript help:
does anyone know how to add auto commo send "Enemy Down" if i killed and enemy
and "enemy spotted' if target is visible?
SmokeZ
2nd August 2005, 22:15
hmm .. for Visible just make a timer so it dont says it 543634Times and set a CMD("blabla");
after "setrotation" the next one after your shotWPN or make a "AntiVoteKick" like check
for Killed By.. or an enemy Struct/array
No1uKnow
3rd August 2005, 01:18
hmm you can check to see if your last bullet was the bullet that killed pawn some how, i seen it done in some bot forget which, i doubt it was a public bot.
if you can figure it out then all else would be easy.
Terminal13
3rd August 2005, 02:21
Just do something like this:
#Exec Audio Import File=Sounds\EnemyDown.wav Name=Down
function say_after_death() {
OwnName = MyController.PlayerReplicationInfo.PlayerName;
HisName = PlayerReplicationInfo.PlayerName;
if (Instr(Caps(MyController.MyHUD.TextMessages[0].Text),HisName "HAS BEEN KILLED BY" OwnName))) {
MyController.ClientPlaySound(Sound'Down',,255 )
}
}
I don't know if the code is valid, but it it might work with a few modifications.
Powered by vBulletin™ Version 4.0.4 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.