Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. oh my god. at least read my posts when i'm giving you direct answer. getAccountData, not getElementData. again - take a peek into bank resource. And i dont know why you are trying to re-create the gui?
  2. dzek (varez)

    how to

    cancel onPlayerLogout and onPlayerChangeNick events.. advice for nicks: 1 type "change nick" in wiki: https://wiki.multitheftauto.com/index.ph ... nick&go=Go 2 scroll down, find something that sounds useful: https://wiki.multitheftauto.com/wiki/OnPlayerChangeNick 3 read description (Cancel effect box) and check out examples advice for logout: 1 check server events: https://wiki.multitheftauto.com/wiki/Ser ... ing_Events 2 ctrl+f, search for "logout": https://wiki.multitheftauto.com/wiki/OnPlayerLogout 3 read description (Cancel effect box) is it so hard?
  3. you didnt gave us any code. we don't know what you did. your "error message" is incomplete and you didnt say which line is causing that error. blablabla. Here: viewtopic.php?f=91&t=27027 probably you received this link already 20 times, but well, you still havent red it
  4. Can i give you one advice? Just stop it. Stealing. We will always spot it. You will never get help with such scripts. Locked ;]
  5. okay, i never played any of them
  6. isnt it easier to open script and check whats inside? probably you have to do: getAccountData(account_variable, "bank.amout") or it was "bank.money"? I dont have it, just open this script and look inside..
  7. it depends what script you are using for bank..
  8. well, he removed most of it i think. simple gui showing after typig command is nothing big fortunately
  9. dont know from where you got it, anyway, you can't even steal good.
  10. ehm.. any game NOT-FROM-VALVE/NOT-ON-HL-ENGINGE have this ? i dont think so.. never seen
  11. okaaay, well, i dont need to set such rotation, but to get it, so well, I'm fine now thanks to you both, even i have no idea how can i GET "correct" rotation with only X,Z and math
  12. so? i don't get you.. do you see a way to flip car into two wheels with only rotating on Z, X, and leaving Y in 0-90 and 270-360?
  13. okay, but i dont want to flip the car to the roof, i want some values between.
  14. I'll give it a try, thanks. That math makes me scary o_O And if it returns in -180, 180 i can easly add 180 to get 0-360
  15. Yes, but you can't replace ped MODEL (dff) - only texture (txd).
  16. lol, you are wrong. you can rotate it by Z - like turning left or right rotate by Y - like make it drive on two wheels and rotate by X - to make it "stand" on it's hood. How you want to achieve to flip car to two wheels with only Z and X? give me values, and i will agree with you
  17. Client-side indeed. Yes, this is what I need. I think I can achieve this with getVehicleRotation, as said - for X and Z - it's fine.
  18. Uhm, I thought the times I was noob in scripting are gone I'm having a vehicle. I'm setting its rotation with setVehicleRotation and I'm getting strange results with getVehicleRotation. On X and Z axis it's ok, strange thing happens only with Y axis. Testing function: function vehTest(veh) ry = 0 xx,yy,zz = getElementPosition(veh) setVehicleFrozen(veh, true) setElementPosition(veh, xx,yy,zz+10) try = 0 setTimer(function() try = try + 1 setVehicleRotation(veh, 0, ry, 0) local rotX, rotY, rotZ = getVehicleRotation(veh) outputConsole(rotY.." -- "..ry) ry = ry + 10 if (try==37) then setVehicleFrozen(veh, false) end end, 100, 37, veh, ry) end Results: 0 -- 0 10 -- 10 20 -- 20 30 -- 30 40 -- 40 50 -- 50 60 -- 60 70 -- 70 80 -- 80 90 -- 90 80 -- 100 70 -- 110 60 -- 120 50 -- 130 40 -- 140 30 -- 150 20 -- 160 10 -- 170 0 -- 180 350 -- 190 340 -- 200 330 -- 210 320 -- 220 310 -- 230 300 -- 240 290 -- 250 280 -- 260 270 -- 270 280 -- 280 290 -- 290 300 -- 300 310 -- 310 320 -- 320 330 -- 330 340 -- 340 350 -- 350 0 -- 360 I see no way to determine if car is rotated Y by 110 or 70 deg. with this
  19. hmm, what i don't like in games is that, that some of them treats friendly fire as when it's OFF - you can't kill your team mate, and some when it's ON. Try to reverse it, and set to true. And remove that "if" - you think it's really needed?
  20. actually not everybody is working under vista/win 7 ;]
  21. well, you are right, but now you bumped this 1 month old thread again to the top
  22. folder: race file: don't know, just open each of them, search for "checkpoint" as Solid said, and when you find something about scoreboard and checkpoint in same line - remove it
  23. https://wiki.multitheftauto.com/wiki/SetTeamFriendlyFire ?
  24. you have to login as admin.. https://wiki.multitheftauto.com/wiki/Admin and oh, this picture is in your sig
  25. you have to start it. you saved it as "mymap" so you have to open console (f8) and type "start mymap". and lol @ picture you "add" to this post. use imageshack to upload pictures, you can't attach it like that
×
×
  • Create New...