Guest User

Simple TP system by Emmet_

a guest
Mar 27th, 2016
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. //Simple Teleport Filterscript by Me (Emmet_)
  2.  
  3. #include <a_samp>
  4.  
  5. #if defined FILTERSCRIPT
  6.  
  7. public OnFilterScriptInit()
  8. {
  9. print("\n--------------------------------------");
  10. print(" Simple Player TP System By Emmet_ Loaded");
  11. print("--------------------------------------\n");
  12. return 1;
  13. }
  14.  
  15. public OnFilterScriptExit()
  16. {
  17. print("\n--------------------------------------");
  18. print(" Simple Player TP System By Emmet_ Unloaded");
  19. print("--------------------------------------\n");
  20. return 1;
  21. }
  22.  
  23. #endif
  24.  
  25. public OnPlayerClickPlayer(playerid, clickedplayerid, source)
  26. {
  27. new Float:x, Float:y, Float:z;
  28. GetPlayerPos(clickedplayerid, x, y, z);
  29. SetPlayerPos(playerid, x,y,z);
  30. return 1;
  31. }
Add Comment
Please, Sign In to add comment