CheiN Posted June 26, 2012 Posted June 26, 2012 hey. i have a problem...(race gamemode) i want see how to make a bind (Bind M) and when i push it teleport me to a especifed area (the airport) but when the player is died (onPlayerwasted) and outputChatBox ((user.) Press "M" to go to the DD arena!) Please Helpme if you can help My scripts: toptimes on scoreboard (server21) Screen on login(scren) Score on scoreboard (score)
iFoReX Posted June 27, 2012 Posted June 27, 2012 function spawnIt() if not isPlayerInVehicle(source) then setElementPosition(source, PosX, PosY, PosZ) ---In PosX, PosY and PosZ put ur positions elseif isPlayerInVehicle(source) then removeEventHandler("onPlayerWasted",root,bindear) end end ) function bindear() if source ~= nil then outputChatBox("press "M" to go to the DD arena",source) bindKey(source,"M","down", spawnIt) end end ) addEventHandler("onPlayerWasted",root,bindear) try with it elMota/elFoReX De Vuelta En MTA *---------* Cuenta De Youtube En La Que Subo Tutoriales Acerca De MTA :3 https://www.youtube.com/user/KillersGPs
Castillo Posted June 27, 2012 Posted June 27, 2012 That's just a mess, it has a lot of syntax errors. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
CheiN Posted June 27, 2012 Author Posted June 27, 2012 Bindear? spawnIt? is that correct?? My scripts: toptimes on scoreboard (server21) Screen on login(scren) Score on scoreboard (score)
Castillo Posted June 27, 2012 Posted June 27, 2012 As I said above, his code is a mess, will not work. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
CheiN Posted June 27, 2012 Author Posted June 27, 2012 bad bad bad bad! a MESS!! helpme someone with a idea good structured My scripts: toptimes on scoreboard (server21) Screen on login(scren) Score on scoreboard (score)
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