
DonPro
Members-
Posts
125 -
Joined
-
Last visited
Everything posted by DonPro
-
Check the script again, it's a own made function... bad arguments osv, thats the error i get up osv? There isn't any 'osv' text in this script? Are you even sure it's this script? Otherwise post the whole error....... sorry (osv) is something we use in norwegian hah i will try figger out of this if not i just use commands, thanks for your help everyone!
-
bad arguments osv, thats the error i get up
-
ACL group is still up if i understand u right. ehm but the gate wont work, i see the gate at the spot i want it, but it wont work. heh
-
if isAclGroup(psource,group) then Did you change 'group' to the ACL name? Doubt it. Are you also in the ACL group which you gave up? Doubt it too. "PST_Army"> "user.Mark">
-
none of these codes works for me ive tryed a old i had and that worked, and thats not an ACL group moving gate. but i now trying a moving gate with command and that works to
-
yeah? should i remove Mark? and if what should i put in there?
-
still not working local gate = createObject(3114, -3362.04, 2425.96, 9.47, 0, 0, 270) local marker = createMarker(-3364.6500976563, 2414, 10.5, "cylinder", 1, 255, 255, 255, 0) function moveGate(psource) local Deadusergroup = getAccountName(getPlayerAccount(psource)) if isObjectInACLGroup("user.Mark"..Deadusergroup, aclGetGroup("Dead")) then moveObject(gate, 3114, -3362.0400390625, 2425.9499511719, 16.540000915527) setTimer(moveBack, 5000, 1) -- end end addEventHandler("onMarkerHit", marker, moveGate) function moveBack() moveObject(gate, 3114, -3362.0400390625, 2425.9689941406, 9.4750003814697) end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), onStartup)
-
bro. its still not working i put Mark as user and thats what im registred in!
-
it didnt work eather i got the marker up on size 2 now
-
but i want it to be for my company u know
-
what u mean "your account name is added in acl group 'Dead'"? ;S
-
Hi. i got this ACL gate here, the gate shows up but when i hit the marker it wont go anywhere! im in the ACL group and everything is fine there. but if someone can help me also make this to a Command Handler i would be happy thanks! local gate = createObject(3114, -3362.0400390625, 2425.9689941406, 9.4750003814697, 0, 0, 270) local marker = createMarker(-3364.6000976563, 2414, 10, "cylinder", 1, 255, 255, 255, 0) function moveGate(psource) local Deadusergroup = getAccountName(getPlayerAccount(psource)) if isObjectInACLGroup("PST_Army"..Deadusergroup, aclGetGroup("Dead")) then moveObject(gate, 5000, -3362.0400390625, 2425.9499511719, 16.540000915527) setTimer(moveBack, 5000, 1) end end addEventHandler("onMarkerHit", marker, moveGate) function moveBack() moveObject(gate, 5000, -3362.0400390625, 2425.9689941406, 9.4750003814697) end
-
Hey aigen. ehm i got a question! when i wanna connect this object ingame creator and wanna connect it to my own GUI should i just double this line and type in the GUI name? triggerClientEvent(source, "createTheObject", source) triggerClientEvent(source, "GUI", source) <--- like that?
-
i mean if there is many way to set up the LUA forexample a Function can be placed in the middle of the script or do it have to be on the top to activate the script or something.
-
thank u. but if i can ask. are there some special ways to set up a LUA?
-
hello i have decided to maby start script so i wanna make a start script to my server. i have made the GUI and thats ready but now im wondering how i can make the buttons to work etc. so could maby someone tell me how to make something simple for this and how i can get started? i got the server but no of the scripts there is mine u know. i wanna make everything by my own so i have something to be provd off! pleas guys help me get started! i using resource to make the GUI and scripts so i can make it all ingame. -GUIeditor -Scripteditor GUIEditor.memo[4] = guiCreateMemo(109, 298, 142, 31, "", false, GUIEditor.tab[1]) GUIEditor.button[4] = guiCreateButton(10, 339, 89, 31, "Buy", false, GUIEditor.tab[1]) GUIEditor.tab[2] = guiCreateTab("Vehicle Storage", GUIEditor.tabpanel[1]) GUIEditor.gridlist[1] = guiCreateGridList(10, 10, 663, 269, false, GUIEditor.tab[2]) guiGridListAddColumn(GUIEditor.gridlist[1], "Vehicle", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], "Damage", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], "Fuel", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], "", 0.2) guiGridListAddColumn(GUIEditor.gridlist[1], "", 0.2) GUIEditor.button[5] = guiCreateButton(20, 289, 269, 50, "Repair All", false, GUIEditor.tab[2]) GUIEditor.button[6] = guiCreateButton(394, 289, 269, 50, "Repair", false, GUIEditor.tab[2]) GUIEditor.button[7] = guiCreateButton(20, 366, 269, 50, "Spawn Vehicle", false, GUIEditor.tab[2]) GUIEditor.tab[3] = guiCreateTab("Weapon Storage", GUIEditor.tabpanel[1]) GUIEditor.gridlist[2] = guiCreateGridList(12, 11, 246, 413, false, GUIEditor.tab[3]) guiGridListAddColumn(GUIEditor.gridlist[2], "Weapon", 0.5) guiGridListAddColumn(GUIEditor.gridlist[2], "Ammo", 0.5) GUIEditor.gridlist[3] = guiCreateGridList(427, 11, 246, 413, false, GUIEditor.tab[3]) guiGridListAddColumn(GUIEditor.gridlist[3], "Weapon", 0.5) guiGridListAddColumn(GUIEditor.gridlist[3], "Ammo", 0.5) GUIEditor.memo[5] = guiCreateMemo(289, 119, 99, 38, "", false, GUIEditor.tab[3]) GUIEditor.button[8] = guiCreateButton(297, 65, 81, 44, "--->", false, GUIEditor.tab[3]) GUIEditor.button[9] = guiCreateButton(297, 167, 81, 44, "<---", false, GUIEditor.tab[3]) end )
-
its maby easyer now bro. i want this spawn to be connected to ACL group LWS so players whos not a part of LWS wont be allowed to spawn. "LasVenturasLWS" > "LWS" friendlyfire="true" > "Hells angels the gang of the best!" /> "177" green="204" blue="0" /> "LWS Member" id="290" > "709.2236328125" y="1818.021484375" z="-9.96" rot="48.129089355469" /> "LWS Member" id="98" > "709.2236328125" y="1818.021484375" z="-9.96" rot="48.129089355469" /> "LWS Member" id="126" > "709.2236328125" y="1818.021484375" z="-9.96" rot="48.129089355469" /> "1" ammo="1" /> "4" ammo="1" /> "24" ammo="100" /> "27" ammo="130" /> "31" ammo="800" /> "1768" y="-1544" z="15" /> "1768" y="-1544" z="15" />
-
ill send you the script over skype.
-
where do i put it? ;S dude if u have skype pleas add me: fredthemasterman
-
Here is the meta of the resource i want to CONNECT to ACL group so only people in LWS can use it. "Rars" description="in game object adder" version="0.2" type="script" /> "models.xml" type="client"/>
-
ok, u know Resource. i wanna connect it to GROUP LWS so ONLY (LWS) can use it.
-
no thanks i have a object gui with everything there how do i connect the resource to the ACL LWS group??
-
can u show me and example?
-
hey. i wondering if there is no easyer way to make an ACL to the resource. i mean, a resource that makes objects in game, and i want it to only be for LWS/ZIP and not all in the game. so isnt there a way to make the resource in ACL so its only works for that group? "LWS"> "resource.LWS-ZIP_system">