Jump to content

Little Help with one script


Timic

Recommended Posts

Posted

Hello i need help :D 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?

  • Discord Moderators
Posted

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.

Posted
dont know from where you got it, anyway, you can't even steal good.

:evil: its from party and co...

they got a resource if u type /rules a gui with rules come but he deleted some stuff

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...