Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2014
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. @name Annoying PlayerFinder
  2. @inputs
  3. @outputs
  4. @persist Player:entity
  5. @trigger
  6.  
  7. runOnTick(1)
  8.  
  9. if(first()){
  10. hint("/t <name>",5)
  11. hint("xXKvittoXx",5)
  12. hint("If you Re-Publish it please Give Me Credits",5)
  13. holoCreate(1)
  14. }
  15.  
  16. S = owner():lastSaid():explode(" ")
  17.  
  18. if (S:string(1)=="/t"){
  19.  
  20. TempPlayer = findPlayerByName(S:string(2))
  21. if (TempPlayer:isPlayer()){
  22. Player = TempPlayer
  23. }
  24. }
  25.  
  26. holoCreate(1)
  27. holoModel(1,"cube")
  28. holoScale(1,vec(-5,-5,-5))
  29. holoColor(1,vec(250,250,250))
  30. holoAng(1,ang(0,360,0))
  31. holoPos(1, Player:pos() + vec(0,0,50))
  32. holoMaterial(1,"matsys_regressiontest/background")
  33. holoEntity(1):soundPlay(999,999,"npc/stalker/go_alert2a.wav")
  34. #hint npc/stalker/go_alert2a.wav
  35.  
  36.  
  37. if (duped()) {selfDestruct()}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement