Guest User

[RP] Teleport v2.3 [Finished] [Simple] Fixed

a guest
Aug 17th, 2010
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. // teleport v 2.3
  2. #define FILTERSCRIPT
  3.  
  4. #include <a_samp>
  5.  
  6. #if defined FILTERSCRIPT
  7.  
  8. public OnFilterScriptInit()
  9. {
  10. print("\n--------------------------------------");
  11. print(" TELEPORT Version 2.3 - Made by JonnyBoy");
  12. print("--------------------------------------\n");
  13. return 1;
  14. }
  15.  
  16. public OnFilterScriptExit()
  17. {
  18. return 1;
  19. }
  20.  
  21. #else
  22.  
  23. main()
  24. {
  25. print("\n----------------------------------");
  26. print(" TELEPORT V 2.3 - By JonnyBoy");
  27. print("----------------------------------\n");
  28. }
  29.  
  30. #endif
  31.  
  32. public OnPlayerCommandText(playerid,cmdtext[])
  33. {
  34. if(!strcmp(cmdtext,"/ls",true))
  35. {
  36. SetPlayerPos(playerid, 1546.908, -2313.5, 15);
  37. SetPlayerFacingAngle(playerid, 0);
  38. return 1;
  39. }
  40. if(!strcmp(cmdtext,"/lv",true))
  41. {
  42. SetPlayerPos(playerid, 1677.544, 1426.837, 15);
  43. SetPlayerFacingAngle(playerid, 0);
  44. return 1;
  45. }
  46. if(!strcmp(cmdtext,"/sf",true))
  47. {
  48. SetPlayerPos(playerid, -1448.325, -325.1149, 15);
  49. SetPlayerFacingAngle(playerid, 0);
  50. return 1;
  51. }
  52. return 0;
  53. }
Advertisement
Add Comment
Please, Sign In to add comment