steven1l Posted October 16, 2010 Posted October 16, 2010 heey. again i need help. i found race user panel on mta but it only works on losed games https://community.multitheftauto.com/index.php?p=resources&s=details&id=811 I hope some one can help me
Castillo Posted October 16, 2010 Posted October 16, 2010 i made this resource but didn't had much idea of how race event worked (i hate race ) but why you don't use this one: https://community.multitheftauto.com/index.php?p=resources&s=details&id=821 it has alot more of features than mine San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
steven1l Posted October 16, 2010 Author Posted October 16, 2010 no i want urs its works fine but only the win points not. ur one is better to understand for me so may can u teach me
Castillo Posted October 17, 2010 Posted October 17, 2010 ok then explain me the error what is it and i will upload a fix to mta community. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
steven1l Posted October 17, 2010 Author Posted October 17, 2010 no error into the debug mode. but the onli see losed games when i won a game he dont see that. so i only get -Point and not + Srry for my bad english
steven1l Posted October 17, 2010 Author Posted October 17, 2010 *srry dubbel post* but solid snake plz tell me how you fix i need to learn
Castillo Posted October 18, 2010 Posted October 18, 2010 omg, i said not error in debug i mean the ERROR you are talking about. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
steven1l Posted October 18, 2010 Author Posted October 18, 2010 ow srry i think here is somthing wrong addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerLogin", getRootElement ( ), onPlayerLogin ) addEvent("onPlayerDestructionDerbyWin",true) addEventHandler("onPlayerDestructionDerbyWin",getRootElement(), function (winner) givePlayerMoney(winner, 1200) outputChatBox(getPlayerName ( winner ) .. " has won $1200 as last player alive",getRootElement(),0,255,0) setElementData(winner,"Points",tonumber(getElementData(winner,"Points"))+5) setElementData(winner,"Race Wins",tonumber(getElementData(winner,"Race Wins"))+1) end)
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