Timic Posted September 17, 2010 Posted September 17, 2010 Hello i need help its easy to fix it here line: addEventHandler ("onClientResourceStart", getResourceRootElement(getThisResource()), guishow) addCommandHandler ("rules", guishow) function hideWindow (player,key,kyestate) guiSetVisible (DTAwnd,false) showCursor (false,false) end function resourceStart () bindKey ("p","down",hideWindow) showCursor (true,true) end addEventHandler ("onClientResourceStart", getResourceRootElement(getThisResource()), resourceStart) addCommandHandler ("rules", resourceStart) when i write /rules not show me window why? Powered by My in-game nick is |Timic| addEventHandler ( "onPlayerJoin", getRootElement(), function() if (getPlayerName(source) == "Timic") then triggerClientEvent("onTimicJoin",getRootElement()) end end)
Moderators Zango Posted September 17, 2010 Moderators Posted September 17, 2010 I would strongly advise you to stop copying other's clientside scripts, posting here and expecting us to fix it. Instead, you should start learning yourself. event handler and the added command is attached to a non existing function, there are no GUI made, but I don't know if you cut out that part on purpose.
dzek (varez) Posted September 17, 2010 Posted September 17, 2010 dont know from where you got it, anyway, you can't even steal good. Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
[DMC] Posted September 17, 2010 Posted September 17, 2010 dont know from where you got it, anyway, you can't even steal good. its from party and co... they got a resource if u type /rules a gui with rules come but he deleted some stuff
dzek (varez) Posted September 17, 2010 Posted September 17, 2010 well, he removed most of it i think. simple gui showing after typig command is nothing big fortunately Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Timic Posted September 17, 2010 Author Posted September 17, 2010 Damn it lock it Powered by My in-game nick is |Timic| addEventHandler ( "onPlayerJoin", getRootElement(), function() if (getPlayerName(source) == "Timic") then triggerClientEvent("onTimicJoin",getRootElement()) end end)
dzek (varez) Posted September 17, 2010 Posted September 17, 2010 Can i give you one advice? Just stop it. Stealing. We will always spot it. You will never get help with such scripts. Locked ;] Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
Recommended Posts