Timic Posted September 17, 2010 Share 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? Link to comment
Discord Moderators Zango Posted September 17, 2010 Discord Moderators Share 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. Link to comment
dzek (varez) Posted September 17, 2010 Share Posted September 17, 2010 dont know from where you got it, anyway, you can't even steal good. Link to comment
[DMC] Posted September 17, 2010 Share 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 Link to comment
dzek (varez) Posted September 17, 2010 Share Posted September 17, 2010 well, he removed most of it i think. simple gui showing after typig command is nothing big fortunately Link to comment
Timic Posted September 17, 2010 Author Share Posted September 17, 2010 Damn it lock it Link to comment
dzek (varez) Posted September 17, 2010 Share 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 ;] Link to comment
Recommended Posts