steven1l Posted October 16, 2010 Share 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 Link to comment
Castillo Posted October 16, 2010 Share 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 Link to comment
steven1l Posted October 16, 2010 Author Share 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 Link to comment
Castillo Posted October 17, 2010 Share Posted October 17, 2010 ok then explain me the error what is it and i will upload a fix to mta community. Link to comment
steven1l Posted October 17, 2010 Author Share 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 Link to comment
steven1l Posted October 17, 2010 Author Share Posted October 17, 2010 *srry dubbel post* but solid snake plz tell me how you fix i need to learn Link to comment
Castillo Posted October 18, 2010 Share Posted October 18, 2010 omg, i said not error in debug i mean the ERROR you are talking about. Link to comment
steven1l Posted October 18, 2010 Author Share 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) 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