![](https://forum.multitheftauto.com/uploads/set_resources_22/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
Karuzo
Members-
Posts
1,213 -
Joined
-
Last visited
Everything posted by Karuzo
-
https://wiki.multitheftauto.com/wiki/DxDrawCircle
-
Well how about dxDrawCircle for the circle?
-
Hey guys, i want to spawn all players on one location ( in the air) and that they spawn all with a command. but how ??
-
hey thank you solid it works! if i have more questions ill write them here
-
Thank you Solidsnake, it doesn't appear on the ResourceStart now But if i type /vip this error appears :
-
Well ok , i've changed it to : function VIPMENUTRIGGER ( thePlayer , commandName ) if isObjectInACLGroup("user."..getAccountName( getPlayerAccount(source)), aclGetGroup("VIP")) then triggerClientEvent (thePlayer,"VIPSuccess", source) else outputChatBox ( "VIP deilsin!!Vip icin : [url=http://www.yvgaming.de]www.yvgaming.de[/url] ye git!",thePlayer) end end addCommandHandler("vip", VIPMENUTRIGGER) Cause i don't want to reconnect ^^ But still same problem. But now the panel appears automatically if i start the resource... full code: gui.lua : http://pastebin.com/WCR7AAYJ s_vip.lua : http://pastebin.com/nNJeXngF
-
Hey Guys, i want to check if a player is a VIP , i've done that now but, if i want to open the Panel it doesnt appear.. Serverside : function VIPMENUTRIGGER ( thePlayer , commandName ) if isObjectInACLGroup("user."..getAccountName( getPlayerAccount(source)), aclGetGroup("VIP")) then triggerClientEvent (thePlayer,"VIPSuccess", source) else outputChatBox ( "Youre not a VIP!!",thePlayer) end end bindKey("F10", "down", VIPMENUTRIGGER ) function OpenPanel() guiSetVisible(VIP.window[1], true) guiSetVisible(VIP.window[1], true) guiSetVisible(VIP.window[2], true) guiSetVisible(VIP.window[3], true) guiSetVisible(VIP.window[4], true) guiSetVisible(VIP.window[5], true) guiSetVisible(VIPimage, true) showCursor(true) end addEvent("VIPSuccess", true) addEventHandler("VIPSuccess", getRootElement(), OpenPanel) No Errors. btw im in the ACL Group "VIP" ^^
-
Just like that ? function godmode () cancelEvent() addEventHandler("onClientPlayerDamage", godmode) end addEventHandler("onClientGUIClick", VIP.button[5], godmode)
-
Hi i know that. but i want it to enable the godmode if the player presses a button.
-
hey guys , i want to give a vip player godmode if he clicked on the Button , but i don't know how cause i don't know how i should put cancelEvent and onClientPlayerDamage in my "onClientGUIClick" Function. Any ideas ?
-
Oh, some other admin has deleted that... Can i put it in without restartin the server ? Please its important D:
-
and it has to be 20000 and not 10000 ^^
-
Hey Guys , i have a problem : i want to mute a player but if i type /mute name this error appears : i have downloaded the newest mtasa-resource-r986 but same problem...
-
triggerClientEvent triggerServerEvent i think.
-
i know . I want it client side
-
Thank you! #close
-
Thank you Gallardo9944 , it worked #closereq
-
So i want to open my DX Cheat-Panel , i've made an if opened == false then , but if i want to open the panel i have to press twice to open it if i open it first. After the first opening i just have to press once to open it... function open() if opened == false then opened = true addEventHandler("onClientRender", getRootElement(), Panel) showCursor(true) guiSetVisible(Cheatbutton1, true) guiSetVisible(Cheatbutton2, true) guiSetVisible(Cheatbutton3, true) guiSetVisible(Cheatbutton4, true) else opened = false guiSetVisible(Cheatbutton1, false) guiSetVisible(Cheatbutton2, false) guiSetVisible(Cheatbutton3, false) guiSetVisible(Cheatbutton4, false) showCursor(false) removeEventHandler("onClientRender", getRootElement(), Panel) end end bindKey("F7","down",open)