Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. Then, unless you get the uncompiled version of DayZ, just ignore it. You can report it to Slothman.
  2. Better start learning: https://wiki.multitheftauto.com/wiki/SetTimer
  3. Its simple... setElementData isn't getting a valid argument. We can't fix that without the script.
  4. Try delaying it using setTimer by like a half a second.
  5. setElementModel ( source, 280 ) Change the "280" to the skin id of the zombies.
  6. csmit195 -> This guy right here is trying to make it a stupid rage war...
  7. I think it didn't work because I forgot the "s" try this: -- Not tested addEventHandler ( "onPlayerSpawn", root, function ( ) if ( getTeamName ( getPlayerTeam ( source ) ) ~= "Zombies" ) then setElementModel ( source, 280 ) outputChatBox ( "You are now a zombie.", source, 255, 0, 0 ) else return end end )
  8. Why are you changing the topic? It was: Not something like "I think that ixjf is a noob scripter."
  9. If you trying to load them a script, make sure to load the .txd file first. Because, if you load the .dff file first, as you said, it will come out white.
  10. use this: https://community.multitheftauto.com/index.php?p= ... ls&id=3016
  11. Apparently not, nor do I care to know.
  12. -- Not tested addEventHandler ( "onPlayerSpawn", root, function ( ) if ( getTeamName ( getPlayerTeam ( source ) ) == "Zombies" ) then setElementModel ( source, 280 ) outputChatBox ( "You are now a zombie.", source, 255, 0, 0 ) else return end end )
  13. Still, close enough. The time is based on how dedicated & how much you do it... (Im not just talking about being able to write a basic GM, I mean like very advanced ones such as FFS )
  14. Dosn't matter where it goes, as long as its on the server side.
  15. I made this a while ago for a server: function getAllPlayerInDimension ( dimension ) local rValue = { }; for i, v in ipairs ( getElementsByType ( "player" ) ) do if ( getElementDimension ( v ) == dimension ) then table.insert ( rValue, v ); else return; end; end return rValue; end
  16. Sinse its simple script, ill make it for you (dont get used to this) addEventHandler ( "onPlayerWasted", root, function ( ) local humans = getTeamFromName ( "Humans" ) if ( getTeamName ( getPlayerTeam ( source ) ) == "Humans" ) then setPlayerTeam ( source, getTeamFromName ( "Zombies" ) ) else return end end )
  17. eh, close enough. (Not really sure why, but I like to refer to file format in all caps... )
  18. It would be nice if you gave a descripton of what the server is, instead of just telling all to join.
  19. LUA isn't just something you can learn over night. Or a week. It can take year(s) to master. You can get started here: viewtopic.php?f=148&t=40809
  20. You should use the default MTA DB functions, not the module.. https://wiki.multitheftauto.com/wiki/Se ... _functions
  21. in the loop just do: addEventHandler ( "onColShapeHit, Colshape [ i ], function ( ) -- Use "source" for the colshape. end )
×
×
  • Create New...