DangerRuss Posted January 12, 2015 Report Share Posted January 12, 2015 way to necro this thread man... look at the code //Created by [CPC] ToejaM - www.CPC-Gaming.eu Waituntil{!isNull player}; while{true} do { sleep 0.5; if((isPlayer cursorTarget) && (alive cursorTarget) && (side cursorTarget == side player) && (player distance cursorTarget < 5)) then { _tag = name cursorTarget; cutText [_tag,"PLAIN",0.1]; } else { }; }; pretty small and simple, you can modify it however you want, only one way to find out! Link to comment Share on other sites More sharing options...
braydenrox55 Posted May 31, 2016 Report Share Posted May 31, 2016 I have made an addition to your script however I don't know for sure if it will work (haven't tested on my server yet), however the idea of it is to add a tag such as [Hero] or [Bandit] in front of the players name if their humanity is +/- 15000. Waituntil{!isNull player}; while{true} do { sleep 0.5; if((isPlayer cursorTarget) && (alive cursorTarget) && (side cursorTarget == side player) && (player distance cursorTarget < 15)) then { if player getVariable "humanity" > 15000 then { _targetHumanity == "Hero" } else { if player getVariable "humanity" < -15000 then { _targetHumanity == "Bandit" }; } else { if (player getVariable "humanity" >-15000) && (player getVariable "humanity" < 15000) then { _name = name cursorTarget; }; }; _name = "["_targetHumanity"]" + name cursorTarget; cutText [_name,"PLAIN",0.1]; } else {}; }; Link to comment Share on other sites More sharing options...
Pro_Speedy Posted June 1, 2016 Report Share Posted June 1, 2016 21 hours ago, braydenrox55 said: I have made an addition to your script however I don't know for sure if it will work (haven't tested on my server yet), however the idea of it is to add a tag such as [Hero] or [Bandit] in front of the players name if their humanity is +/- 15000. Waituntil{!isNull player}; while{true} do { sleep 0.5; if((isPlayer cursorTarget) && (alive cursorTarget) && (side cursorTarget == side player) && (player distance cursorTarget < 15)) then { if player getVariable "humanity" > 15000 then { _targetHumanity == "Hero" } else { if player getVariable "humanity" < -15000 then { _targetHumanity == "Bandit" }; } else { if (player getVariable "humanity" >-15000) && (player getVariable "humanity" < 15000) then { _name = name cursorTarget; }; }; _name = "["_targetHumanity"]" + name cursorTarget; cutText [_name,"PLAIN",0.1]; } else {}; }; you realise the age of this post right? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now