Jump to content

XetaQuake

Members
  • Posts

    561
  • Joined

  • Last visited

Everything posted by XetaQuake

  1. Hi, i have a funny problem and PLEEASS take a little bit time to help me i created a cylinder-marker, and when i drive in it, i want to be teleporting in an interior. and yes, all that´s works PERFECT!, but: ( ) when i drive with a vehicle in it, i get pushed extremely away, here is a screenshot: (I think most people know what i mean, it´s like a cheater pushes you away in the old mta race client. ) Now i trying to fix that, and i already have a idea: i create a vehicle frezz time after the vehicle and player teleports, and 3 (for example) seconds latter, it will be unleashed. Ok, i already scripting it, but now the vehicle don´t move in the interior, its freezed inside the cylinder. The player moves to the interior, but he is still in the vehicle and so he don´t teleports too: Here is my code: ... ... function markerBeamer( player ) if isPlayerInVehicle ( player ) then setElementInterior ( player, 15, -1400.5998535156, 996.78350830078, 1043.6085205078 ) setPlayerRotation ( player, 90 ) local playerVehicle = getPlayerOccupiedVehicle ( player ) setVehicleFrozen ( playerVehicle, true ) setTimer( unfrozen, 3000, 1 ) end end function unfrozen( player ) local playerVehicle = getPlayerOccupiedVehicle ( player ) setVehicleFrozen ( playerVehicle, false ) end ... ... ------- And another question: why function unfrozen don´t work? i get this warnings: WARNING: warp.lua: Bad argument @ 'getPlayerOccupiedVehicle' - Line: 82 WARNING: warp.lua: Bad argument @ 'setVehicleFrozen' - Line: 83 and the vehicle don´t get unfrozen after 3 seconds, why? (but that´s not the main question!)
  2. Hi, i have a funny problem and PLEEASS take a little bit time to help me i created a cylinder-marker, and when i drive in it, i want to be teleporting in an interior. and yes, all that´s works PERFECT!, but: ( ) when i drive with a vehicle in it, i get pushed extremely away, here is a screenshot: (I think most people know what i mean, it´s like a cheater pushes you away in the old mta race client. ) Now i trying to fix that, and i already have a idea: i create a vehicle frezz time after the vehicle and player teleports, and 3 (for example) seconds latter, it will be unleashed. Ok, i already scripting it, but now the vehicle don´t move in the interior, its freezed inside the cylinder. The player moves to the interior, but he is still in the vehicle and so he don´t teleports too: Here is my code: ......function markerBeamer( player ) if isPlayerInVehicle ( player ) then setElementInterior ( player, 15, -1400.5998535156, 996.78350830078, 1043.6085205078 ) setPlayerRotation ( player, 90 ) local playerVehicle = getPlayerOccupiedVehicle ( player ) setVehicleFrozen ( playerVehicle, true ) setTimer( unfrozen, 3000, 1 ) end end function unfrozen( player ) local playerVehicle = getPlayerOccupiedVehicle ( player ) setVehicleFrozen ( playerVehicle, false ) end...... ------- And another question: why function unfrozen don´t work? i get this warnings: WARNING: warp.lua: Bad argument @ 'getPlayerOccupiedVehicle' - Line: 82WARNING: warp.lua: Bad argument @ 'setVehicleFrozen' - Line: 83 and the vehicle don´t get unfrozen after 3 seconds, why? (but that´s not the main question!)
  3. you need different resources, so its works for me!
  4. you need different resources, so its works for me!
  5. outputChatBox ( "Text in color! YEA", getRootElement(), 200, 160, 180 ) 200 = R 160 = G 180 = B Works good for me
  6. outputChatBox ( "Text in color! YEA", getRootElement(), 200, 160, 180 ) 200 = R 160 = G 180 = B Works good for me
  7. German Public Server Und hier gehts sofort auf den Server: *Klick* Homepage mit News, Forum, Community: http://www.GP-Server.de Infos in der Signatur
  8. German Public Server Und hier gehts sofort auf den Server: *Klick* Homepage mit News, Forum, Community: http://www.GP-Server.de Infos in der Signatur
  9. executeCommandHandler is absolutely bugy i try it since one month. viewtopic.php?f=91&t=22666
  10. executeCommandHandler is absolutely bugy i try it since one month. viewtopic.php?f=91&t=22666
  11. thanks 50p, now its perfect
  12. thanks 50p, now its perfect
  13. today i found a bug too: when you a login in, you get the info how many money you have, right? every player can see it! thats not good because then the players see how many money you have
  14. today i found a bug too: when you a login in, you get the info how many money you have, right? every player can see it! thats not good because then the players see how many money you have
  15. nice, but now we use a other metode to give permissions: we have a Forum-area and the users want to build, need to post their account-username in a new thread (accounts can be make with /register USERNAME PASSWORD). then we go to the resourcemanager and add their usernames in a new-maked offEdit group and when anybody make crap with the editor, we remove the them from the group. easy, isnt it? but i have found some very strange bugs: when i move a object in another object, there will be disappeared without a trace* sometimes the object a rotating a little bit when i make /oy 1 or /ox 1 etc. sometimes the objects a rotating forward when i make /rz -1, only when i make /rz -10 the object rotate backward! sometimes the object is very laggy when i rotating it *but the most worst bug is: when i move a object in another object, there will be disappeared without a trace i am realy wondering about this bugs, on my home server (windows XP) it works perfect, but on our server (win server 2003) we have this bugs i don´t tested the new version, because we give now permision with the resourcemanager, and i find it pleasanter do you know what the problem is? are you interested to see it yourself on our server? then send me a PM pleas //EDIT: i found the problem: my DSL is to slow i have DSL 2000, and i get this problems sometimes. other users with DSL 6000 don´t have any problems with this editor Thanks. //edit2: A bumb button?! sorry my mistake. I don´t wanted to press it.... My mouse made it itself, i wanted to open a tab in the windows taskbar and pressed the button
  16. hi try to delet /> on line 3. and why do you don´t just use this: createObject ( 17512, -704.44897460938, 942.72790527344, 78.641380310059, 0, 0, 0 ) I deleted the /> and the posX= etc. stuff, it think thats wrong! (delete the same on moveObjekt)
  17. hi try to delet /> on line 3. and why do you don´t just use this: createObject ( 17512, -704.44897460938, 942.72790527344, 78.641380310059, 0, 0, 0 ) I deleted the /> and the posX= etc. stuff, it think thats wrong! (delete the same on moveObjekt)
  18. i thank you so much! its works great now, and no errors, infos or warnings in debugscript thanks 50p, you created the first working and public bank script for MTA
  19. i thank you so much! its works great now, and no errors, infos or warnings in debugscript thanks 50p, you created the first working and public bank script for MTA
  20. Ah thanks, nice that the MTA team have includes a SQLite database I think i found a bug too its possibly that the script still don´t save money? And every time i restart the server it says "Creating new DB table bank_accounts". Have anybody else this bug, and @50p is that the bug you found too?
  21. Ah thanks, nice that the MTA team have includes a SQLite database I think i found a bug too its possibly that the script still don´t save money? And every time i restart the server it says "Creating new DB table bank_accounts". Have anybody else this bug, and @50p is that the bug you found too?
  22. lol, i was thinking you a the creator of this thread So I were right. (as always ^^) And maybe u should add [sOLVED] (?) so other people (I mean on newbies who don't search) would check out what did we said here. Or maybe u should add [sOLVED (PARTIALLY)] ^^ Cheers Nidza And i was thinking you asked the mod to add a [sOLVED] I was probably too tired sorry
  23. You a self able to change the topic name, just editing you first post
  24. YEA i love you! Its so long ago, the hope was away, but now 50p strikes back Thanks! Thanks thanks! //EDIT: a little question: the money saves in a database right? but how can i give the script the right infos to connect to a database (name, host, pw...)?
×
×
  • Create New...