OvY2611

Tuning teleport by OvY v. 1.1

Aug 27th, 2014
550
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.67 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. //--------------------------------Version 1.1-----------------------------------
  6. //------------------------------------------------------------------------------
  7.  
  8. #include <a_samp>
  9. #include <streamer>
  10.  
  11. public OnPlayerCommandText(playerid, cmdtext[])
  12. {
  13. if (strcmp("/tuning", cmdtext, true, 10) == 0)
  14. SendClientMessage(playerid, -1, "{FF9999}Tuning port commands: {FFFFFF}/LV{FF9999},{FFFFFF}/LS1{FF9999},{FFFFFF}/LS2{FF9999},{FFFFFF}/SF1{FF9999},{FFFFFF}/SF2{FF9999}!"); //You can change this message
  15. if (strcmp("/SF1", cmdtext, true, 10) == 0)
  16. {
  17. TogglePlayerControllable(playerid,0);
  18. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  19. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  20. PlayAudioStreamForPlayer(playerid, "http://sharemobile.ro/data/share/2_Chainz_We_Own_It_ft._Wiz_Khalifa.mp3");
  21. SetPlayerPos(playerid, -1942.74, 237.43, 35.13);
  22. return 1;
  23. }
  24. if (strcmp("/SF2", 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. PlayAudioStreamForPlayer(playerid, "http://sharemobile.ro/data/share/2_Chainz_We_Own_It_ft._Wiz_Khalifa.mp3");
  30. SetPlayerPos(playerid,-2712.76, 222.55, 5.32);
  31. return 1;
  32. }
  33. if (strcmp("/LV", cmdtext, true, 10) == 0)
  34. {
  35. TogglePlayerControllable(playerid,0);
  36. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  37. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  38. PlayAudioStreamForPlayer(playerid, "http://sharemobile.ro/data/share/2_Chainz_We_Own_It_ft._Wiz_Khalifa.mp3");
  39. SetPlayerPos(playerid, 2382.16, 1038.61, 11.82);
  40. return 1;
  41. }
  42. if (strcmp("/LS1", cmdtext, true, 10) == 0)
  43. {
  44. TogglePlayerControllable(playerid,0);
  45. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  46. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  47. PlayAudioStreamForPlayer(playerid, "http://sharemobile.ro/data/share/2_Chainz_We_Own_It_ft._Wiz_Khalifa.mp3");
  48. SetPlayerPos(playerid, 2643.71, -2011.34, 14.55);
  49. return 1;
  50. }
  51. if (strcmp("/LS2", cmdtext, true, 10) == 0)
  52. {
  53. TogglePlayerControllable(playerid,0);
  54. GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
  55. SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
  56. PlayAudioStreamForPlayer(playerid, "http://sharemobile.ro/data/share/2_Chainz_We_Own_It_ft._Wiz_Khalifa.mp3");
  57. SetPlayerPos(playerid, 1035.07, -1028.29, 33.10);
  58. return 1;
  59. }
  60. return 0;
  61. }
  62. forward SpawnUnfreeze(playerid);
  63. public SpawnUnfreeze(playerid)
  64. {
  65. TogglePlayerControllable(playerid,1);
  66. GameTextForPlayer(playerid, "[][][]EnJoy!!![][][]",5000,5); //You can change this message or time
  67. return 1;
  68. }
  69.  
  70. //------------------------------------------------------------------------------
  71. //--------------------Made in Romania,2014 (june,28) by OvY---------------------
  72. //-----------------------------All rights reserved------------------------------
  73. //---------------------------------Version 1.1----------------------------------
  74. //------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment