XetaQuake
Members-
Posts
561 -
Joined
-
Last visited
Everything posted by XetaQuake
-
Ah that was the problem Hehe, I have not thought so far ^^ thanks 50p, works perfect, thread a finish!
-
Ah that was the problem Hehe, I have not thought so far ^^ thanks 50p, works perfect, thread a finish!
-
Yes i have banIP function permissions as an admin.
-
Yes i have banIP function permissions as an admin.
-
function markerExit(name) if name ~= getThisResource() then return else local marker = createMarker ( -1401.2969970703, -261.7790222168, 1043.65625, "cylinder", 2, 225, 200, 0, 100 ) end end Col = createColSphere ( -1401.2969970703, -261.7790222168, 1043.65625, 2 ) addEventHandler ( "onColShapeHit", Col, [b][color=#FF4040]backBeamer[/color][/b] ) addEventHandler ( "onResourceStart", getRootElement(), markerExit)
-
function markerExit(name) if name ~= getThisResource() then return else local marker = createMarker ( -1401.2969970703, -261.7790222168, 1043.65625, "cylinder", 2, 225, 200, 0, 100 ) end end Col = createColSphere ( -1401.2969970703, -261.7790222168, 1043.65625, 2 )addEventHandler ( "onColShapeHit", Col, [b][color=#FF4040]backBeamer[/color][/b] ) addEventHandler ( "onResourceStart", getRootElement(), markerExit)
-
you willl need to be logged in to do that And absolutly that don´t work for me in the new version when i log me in (yes, as admin with full rights) (I speaking about /buildhouse) EDIT: thanks
-
you willl need to be logged in to do that And absolutly that don´t work for me in the new version when i log me in (yes, as admin with full rights) (I speaking about /buildhouse) EDIT: thanks
-
No i use it server side, i describe it better what happens: When i use this code i posted befor the player _AND_ the CAR gets teleported, and by the way the interior NOT changes But i want that i only teleports when i am not in a vehicle, but the "filter" (if not) don´t work. Here is the code again: function backBeamer( player ) if not isPlayerInVehicle ( player ) then setElementInterior ( player, 0, 1109.8060302734, 1721.865234375, 10.8203125 ) end end PS: Don´t work, its still the same
-
No i use it server side, i describe it better what happens: When i use this code i posted befor the player _AND_ the CAR gets teleported, and by the way the interior NOT changes But i want that i only teleports when i am not in a vehicle, but the "filter" (if not) don´t work. Here is the code again: function backBeamer( player ) if not isPlayerInVehicle ( player ) then setElementInterior ( player, 0, 1109.8060302734, 1721.865234375, 10.8203125 ) end end PS: Don´t work, its still the same
-
Now i tested the newest version: I still get the warnings, and when i log me in as admin, /buildhouse don´t work, no errors or so And /scripter login don´t work, but thats because now that´s should work when i log me in as admin, but don´t work ^^
-
Now i tested the newest version: I still get the warnings, and when i log me in as admin, /buildhouse don´t work, no errors or so And /scripter login don´t work, but thats because now that´s should work when i log me in as admin, but don´t work ^^
-
But i don´t mean the real casino games, i mean LUA games like this, without animations or so
-
But i don´t mean the real casino games, i mean LUA games like this, without animations or so
-
yea, MTA is 5 months old, and now slowly I understand LUA don´t wait, thats a good time to learn it
-
yea, MTA is 5 months old, and now slowly I understand LUA don´t wait, thats a good time to learn it
-
Thanks but don´t work, i want a teleporter to go back to the real world, but i only want to allow teleporting back when the player is not in a vehicle. here a the code: function backBeamer( player ) if not isPlayerInVehicle ( player ) then setElementInterior ( player, 0, 1109.8060302734, 1721.865234375, 10.8203125 ) end end any ideas pleas
-
Thanks but don´t work, i want a teleporter to go back to the real world, but i only want to allow teleporting back when the player is not in a vehicle. here a the code: function backBeamer( player ) if not isPlayerInVehicle ( player ) then setElementInterior ( player, 0, 1109.8060302734, 1721.865234375, 10.8203125 ) end end any ideas pleas
-
Yea i already have a name "working casino games"
-
Yea i already have a name "working casino games"
-
Yea thanks Ace_Gambit!!!! You mean this?: if not isPlayerInVehicle then ... I already tried it but it don´t works No warnings or so, or is "if not" not correct in lua? But i think its correct
-
Yea thanks Ace_Gambit!!!! You mean this?: if not isPlayerInVehicle then... I already tried it but it don´t works No warnings or so, or is "if not" not correct in lua? But i think its correct
-
Sooooo Now i was starting with a absolutely based server, i downloadet the server files and unpack it in a complete new folder. Then i added broph in mtaserver.conf: And added your script in broph´s meta.xml: And the result: it don´t work too, i don´t get teleporting in the house Warnings: [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 339 [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlCreateSubNode' - Line: 332 [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlSaveFile' - Line: 333 [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 349 [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 350 [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlCreateSubNode' - Line: 356 [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeSetAttribute' - Line: 357 [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlSaveFile' - Line: 359 And here a screenshots I changed absolute NOTHING in KIHC, here a the files bytes meta.xml - 131 Byte (131 Bytes) KIHC.lua - 16,8 KB (17.281 Bytes) Now i am 100% sure thats not a problem with other resources or my server. possibly that this problem comes only with Windows XP SP2?
-
Sooooo Now i was starting with a absolutely based server, i downloadet the server files and unpack it in a complete new folder. Then i added broph in mtaserver.conf: And added your script in broph´s meta.xml: And the result: it don´t work too, i don´t get teleporting in the house Warnings: [19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 339[19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlCreateSubNode' - Line: 332[19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlSaveFile' - Line: 333[19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 349[19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeFindSubNode' - Line: 350[19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlCreateSubNode' - Line: 356[19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlNodeSetAttribute' - Line: 357[19:13:18] WARNING: KIHC.lua: Bad argument @ 'xmlSaveFile' - Line: 359 And here a screenshots I changed absolute NOTHING in KIHC, here a the files bytes meta.xml - 131 Byte (131 Bytes) KIHC.lua - 16,8 KB (17.281 Bytes) Now i am 100% sure thats not a problem with other resources or my server. possibly that this problem comes only with Windows XP SP2?
-
I fixed it now! But thanks all for all the help! I just added a timer to frezz the vehicle 100ms after i drives in a teleport, and not in the same function But i have a quick question in scripting: whats the opposite from isPlayerInVehicle? i searched in the wiki but found nothing like isPlayerNotInVehicle or isPlayerOnfoot. Can anybody help me?
