Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //------------------------------------------------------------------------------
- //--------------------------Teleport system by OvY------------------------------
- //---This is first my system for this site,I have one server where I work-------
- //----------If you have bugs....add me Y!M!: [email protected]
- //----------------If you see some bad write,sorry....I"m from Romania-----------
- //------------------------------------------------------------------------------
- #include <a_samp> //link download: https://s19.solidfilesusercontent.com/YTU2M2Q3ZjZiYzlkNDMwMzZmZWM3NGY5MjU1MGExYmI5YzRiZjA2MToxWE1hQWg6bTRxRWFyZjlGY2pPYkdjSnBsemxJZkRTajRj/2ElS/a_samp.inc
- #include <streamer> //link download: https://github.com/samp-incognito/samp-streamer-plugin/releases/download/v2.7.3/streamer-plugin-2.7.3.zip
- public OnPlayerConnect(playerid)
- {
- SetTimer("message", 600000, false); //You can change time (i put 10 min
- }
- public message(playerid)
- {
- 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
- }
- forward message();
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/tuning", cmdtext, true, 10) == 0)
- SendClientMessage(playerid, -1, "{FF9999}Tuning port commands: {FFFFFF}/LV{FF9999},{FFFFFF}/LS{FF9999},{FFFFFF}/SF1{FF9999},{FFFFFF}/SF2{FF9999}!"); //You can change this message
- if (strcmp("/SF1", cmdtext, true, 10) == 0)
- {
- TogglePlayerControllable(playerid,0);
- GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
- SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
- SetPlayerPos(playerid, -1942.74, 237.43, 34.13);
- return 1;
- }
- if (strcmp("/SF2", cmdtext, true, 10) == 0)
- {
- TogglePlayerControllable(playerid,0);
- GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
- SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
- SetPlayerPos(playerid,-2712.76, 222.55, 4.32);
- return 1;
- }
- if (strcmp("/LV", cmdtext, true, 10) == 0)
- {
- TogglePlayerControllable(playerid,0);
- GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
- SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
- SetPlayerPos(playerid, 2382.16, 1038.61, 10.82);
- return 1;
- }
- if (strcmp("/LS", cmdtext, true, 10) == 0)
- {
- TogglePlayerControllable(playerid,0);
- GameTextForPlayer(playerid, "Please wait...",3000,6); //You can change this message or time
- SetTimerEx("SpawnUnfreeze",3000,0,"d",playerid); //You can change time
- SetPlayerPos(playerid, 2643.71, -2011.34, 13.55);
- return 1;
- }
- return 0;
- }
- forward SpawnUnfreeze(playerid);
- public SpawnUnfreeze(playerid)
- {
- TogglePlayerControllable(playerid,1);
- GameTextForPlayer(playerid, "[][][] EnJoy!!![][][]",5000,5); //You can change this message or time
- return 1;
- }
- //------------------------------------------------------------------------------
- //--------------------Made in Romania,2014 (june,27) by OvY---------------------
- //-----------------------------All rights reserved------------------------------
- //---------------------------------70 lines-------------------------------------
- //------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment