Jump to content

dzek (varez)

Retired Staff
  • Posts

    4,144
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by dzek (varez)

  1. dzek (varez)

    TXD

    afair - to have alpha channel dff file have to have some flags checked. but im not sure about this one. last time i was creating own objects where in Vice City times
  2. looks fine. dunno wtf? maybe try to set new timer after moving objects (and set repeats to "1" !)
  3. it's better to ask here i think. is it showing any error? what does it mean "fail to load" - tell everything you can.
  4. 1 is it server side or client side? 2 what is should exactly do? 3 is it a command handler? 4 you should NOT use "source" as argument name!!!! answer to all questions
  5. well, retexturing isnt so hard, its mspaint fun and some scripting knowledge.
  6. dzek (varez)

    top time

    because your query returns nothing local time = executeSQLSelect ( "rol_time", "H","Player = '" .. accountname .. "'") if time~=nil and #time>0 then
  7. event are also serverside.. just change it to serverside DrifteR
  8. dzek (varez)

    top time

    is it too hard to you to add one "if"..?
  9. dzek (varez)

    /time

    try to disable it in acl
  10. According to 1.1 roadmap - it will be available in 1.1, but not yet.
  11. objects are like "inactive" until touched. they can't be moved with setElementVelocity etc.; after you touch them - they are working (until you go away, and get back - they are re-created and needed to be touched again). This sucks. Also position change of objects like that ISN'T SYNCED AT ALL! The only weird way to avoid it is to create a vehicle, set it's alpha to 0, disable it's collision, and attach to this vehicle your object - but object will have car weight rather than it's own.
  12. dzek (varez)

    /time

    os library isn't available in mta. that's why i said that.
  13. createColCircle takes 3 arguments, you gave 4 (but this shouldnt be a problem). is this server side? also giving tickets like you probably want it to do will cause EVERY player to have it. also read about takePlayerMoney (much easier) and isElementWithinColshape (no need to handle hit/leave just to set variable (but if you want to leave that messages - its nesseceary, but you can remove variables anyway)
  14. well, for skate park (which was on LS beach) it wasn't working like that (SF antennas on roofs were replaced with loops and other parts of skatepark. Are you replacing THOUSANDS of objects at the same time? I'm pretty sure that replacing object replaces it instance in memory which results in all instances of this object (no matter if it comes from MTA or GTA). And actually there will be no possibility to use modified object and original one via scripting. Let's wait for somebody from MTA Team, but I can bet $5 that it's working like I said.
  15. it's pretty possible. but i think mta team is too busy with other things..
  16. dzek (varez)

    /time

    cancel? "timeon"? wtf? I don't understand it. to make just time (server time) addCommandHandler getRealTime outputChatBox afaik there is no function to retreive the time of client pc.
  17. function calculatorMarkerHit (hitPlayer, matchingDimension) if (hitPlayer==getLocalPlayer() and matchingDimension) then guiSetVisible(calculatorScreen,true) showCursor(true,true) end end addEventHandler ("onClientMarkerHit",calculatorMarker,calculatorMarkerHit) guiSetText(calculatorDisplay1,tonumber(value)+tonumber(value1))
  18. who told you that? give me some proof. What is the reason of giving ID of model to REPLACE then? some objects are not used on original map (they are added after some missions for example) - or you could just have not found original objects with this ID around San Andres
  19. did you remove gta_sa.dat from my documents?
  20. dzek (varez)

    MTA IV

    indeed, btw: i dont get this trend of removing dedi's from games o_O
  21. it does. at least was in 1.0.3 but i dont think anything changed. to test - download skatepark (custom models) from community and fly around SF
  22. uhm, this is a bit weird way, but the simpliest i think function countWord(text, word) local changed, count = string.gsub(text, word, function() end) return count end it will work only with simple words like : "hello". it will fail if use with chars like [ ] ( ) . * { } %
×
×
  • Create New...