OvY2611

Tuning teleport by OvY

Aug 27th, 2014
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.39 KB | None | 0 0
  1. //------------------------------------------------------------------------------
  2. //--------------------------Teleport system by OvY------------------------------
  3. //---This is first my system for this site,I have one server where I work-------
  4. //----------If you have bugs....add me Y!M!: [email protected]
  5. //----------------If you see some bad write,sorry....I"m from Romania-----------
  6. //------------------------------------------------------------------------------
  7.  
  8. #include <a_samp> //link download: https://s19.solidfilesusercontent.com/YTU2M2Q3ZjZiYzlkNDMwMzZmZWM3NGY5MjU1MGExYmI5YzRiZjA2MToxWE1hQWg6bTRxRWFyZjlGY2pPYkdjSnBsemxJZkRTajRj/2ElS/a_samp.inc
  9. #include <streamer> //link download: https://github.com/samp-incognito/samp-streamer-plugin/releases/download/v2.7.3/streamer-plugin-2.7.3.zip
  10.  
  11. public OnPlayerConnect(playerid)
  12. {
  13. SetTimer("message", 600000, false); //You can change time (i put 10 min
  14. }
  15. public message(playerid)
  16. {
  17. SendClientMessage(playerid, -1, "{FF9999}This server use {FFFFFF}Tuning port system {FF0000}BY OvY.{FF9999}Use: {FFFFFF}/tuning {FF9999}to see more!"); //You can change this message
  18. }
  19. forward message();
  20. public OnPlayerCommandText(playerid, cmdtext[])
  21. {
  22. if (strcmp("/tuning", cmdtext, true, 10) == 0)
  23. SendClientMessage(playerid, -1, "{FF9999}Tuning port commands: {FFFFFF}/LV{FF9999},{FFFFFF}/LS{FF9999},{FFFFFF}/SF1{FF9999},{FFFFFF}/SF2{FF9999}!"); //You can change this message
  24. if (strcmp("/SF1", cmdtext, true, 10) == 0)
  25. {
  26. TogglePlayerControllable(playerid,0);
  27. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  28. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  29. SetPlayerPos(playerid, -1942.74, 237.43, 34.13);
  30. return 1;
  31. }
  32. if (strcmp("/SF2", cmdtext, true, 10) == 0)
  33. {
  34. TogglePlayerControllable(playerid,0);
  35. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  36. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  37. SetPlayerPos(playerid,-2712.76, 222.55, 4.32);
  38. return 1;
  39. }
  40. if (strcmp("/LV", cmdtext, true, 10) == 0)
  41. {
  42. TogglePlayerControllable(playerid,0);
  43. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  44. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  45. SetPlayerPos(playerid, 2382.16, 1038.61, 10.82);
  46. return 1;
  47. }
  48. if (strcmp("/LS", cmdtext, true, 10) == 0)
  49. {
  50. TogglePlayerControllable(playerid,0);
  51. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  52. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  53. SetPlayerPos(playerid, 2643.71, -2011.34, 13.55);
  54. return 1;
  55. }
  56. return 0;
  57. }
  58. forward SpawnUnfreeze(playerid);
  59. public SpawnUnfreeze(playerid)
  60. {
  61. TogglePlayerControllable(playerid,1);
  62. GameTextForPlayer(playerid, "[][][] EnJoy!!![][][]",5000,5); //You can change this message or time
  63. return 1;
  64. }
  65.  
  66. //------------------------------------------------------------------------------
  67. //--------------------Made in Romania,2014 (june,27) by OvY---------------------
  68. //-----------------------------All rights reserved------------------------------
  69. //---------------------------------70 lines-------------------------------------
  70. //------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment