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?

Powered by

image.png

My in-game nick is |Timic|

addEventHandler ( "onPlayerJoin", getRootElement(),

function()

if (getPlayerName(source) == "Timic") then

triggerClientEvent("onTimicJoin",getRootElement())

end

end)

  • 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.

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)!

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

logo_left.png
Posted

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)!

Posted

Damn it lock it

Powered by

image.png

My in-game nick is |Timic|

addEventHandler ( "onPlayerJoin", getRootElement(),

function()

if (getPlayerName(source) == "Timic") then

triggerClientEvent("onTimicJoin",getRootElement())

end

end)

Posted

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)!

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

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