KeoPs Posted January 25, 2013 Share Posted January 25, 2013 tele = { } tele['yankidex'] = { 2751.8000488281, -1760.4000244141, 43.400001525879 } tele['lgn'] = { 1773.3000488281, -3001.6999511719, 1.2000000476837 } tele['askeriye'] = { 1529.3000488281, 99.300003051758, 29.299999237061 } tele['eyfel'] = { 956.09997558594, 2440.8000488281, 10.5 } tele['sahil'] = { 306.29998779297, -1844, 3.0999999046326 } tele['dag'] = { -2236.6999511719, -1741.8000488281, 480.5 } tele['petrol'] = { -2013, 179, 27.299999237061 } function teleportMe(player, command, arg1) if (arg1) then if (tele[arg1]) then local veh = getPedOccupiedVehicle(player) if (veh) then setElementPosition(veh, tele[arg1][1], tele[arg1][2], tele[arg1][3]+2) else setElementPosition(player, tele[arg1][1], tele[arg1][2], tele[arg1][3]+2) end outputChatBox("* [Y]ankidex Hava Yollari: İsinlandiginiz base: #ff00ff"..arg1, player, 255, 255, 0, true) else outputChatBox("* [Y]ankidex Hava Yollari: Hatali isinlanma komutu yazdiniz.[Ornek : /tele yankidex]", player, 255, 0, 0) end else outputChatBox("* İsinlanma alanlari : /tele yankidex - /tele lgn - /tele askeriye - /tele mafya - /tele eyfel - /tele sahil - /tele dag - /tele petrol ", player, 255, 0, 0) end end addCommandHandler("tele", teleportMe) important; else outputChatBox("* İsinlanma alanlari : /tele yankidex - /tele lgn - /tele askeriye - /tele mafya - /tele eyfel - /tele sahil - /tele dag - /tele petrol ", player, 255, 0, 0) end /\ / \ || || || How can I improve the above section is too long? / translate Link to comment
Ab-47 Posted January 25, 2013 Share Posted January 25, 2013 Lol, that's just the outputChatBox, guessing this isn't your script. The outputChatBox only defines a message, delete the existing text and type in anything you like, not really important. I'm guessing it says: else outputChatBox("* Commands Are : /tele yankidex - /tele lgn - /tele askeriye - /tele mafya - /tele eyfel - /tele sahil - /tele dag - /tele petrol ", player, 255, 0, 0) end Which means that the commands are: /tele yankidex /tele lgn /tele askeriye /tele mafya /tele eyfel /tele sahil /tele dag /tele petrol Make your own script. Link to comment
KeoPs Posted January 25, 2013 Author Share Posted January 25, 2013 Lol, that's just the outputChatBox, guessing this isn't your script. The outputChatBox only defines a message, delete the existing text and type in anything you like, not really important.I'm guessing it says: else outputChatBox("* Commands Are : /tele yankidex - /tele lgn - /tele askeriye - /tele mafya - /tele eyfel - /tele sahil - /tele dag - /tele petrol ", player, 255, 0, 0) end Which means that the commands are: /tele yankidex /tele lgn /tele askeriye /tele mafya /tele eyfel /tele sahil /tele dag /tele petrol Make your own script. articles chatbox does not seem Link to comment
Ab-47 Posted January 26, 2013 Share Posted January 26, 2013 articles chatbox does not seem I tried translating it and got this: * Teleportation areas: / tele yankidex - / tele-lgn - / tele military - / tele-mafia - / tele eiffel - / tele coast - / tele mountain - / tele oil Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now