Jump to content

Et-win

Members
  • Posts

    1,390
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Et-win

  1. Et-win

    XML

    What do you want to do with the script?
  2. ...You could've found the problem already at the time it didn't work. Why not putting 'outputChatBox("Test")' in every function, if, for, etc.? It will show you exactly where the script fails/stops.
  3. And it's constantly happening by the same people... -.-
  4. Et-win

    File what?

    Why do you think it's compiled? Sad people some of you are jeez e.e
  5. Et-win

    [HELP] Tables

    He said remove the 4th line. return true
  6. setTimer is different at everyone in client.
  7. Remember that it requires rights in ACL
  8. getTime getTickCount setElementHealth
  9. ...I advise you to read the tutorials first.
  10. Where is 'account' defined? 'getPlayerAccount(source)' 'source' is not defined or where else is it? 'getPedOccupiedVehicle(ped)' 'ped' is not defined or where else is it?
  11. Et-win

    Skin gui

    onClientGUIClick guiGridListGetSelectedItem guiGridListGetItemText tonumber triggerServerEvent --If everyone has to see the skin setElementModel
  12. This won't help at all? Use debugscript 3 as well btw.. And you guys know that by 'onMarkerHit' it will trigger for every element? Check or it's a player first: if (getElementType(hitPlayer) == "player") then Or use: https://wiki.multitheftauto.com/wiki/OnPlayerMarkerHit
  13. Which gamemode? Because in RACE it's different as well............ That's why I said which resource. If you mean the PLAY gamemode, then you can clearly see this in 'broph.lua': repeat until setElementModel(player,math.random(312)) This is the code where it takes a random skin. If you mean the skins list in the PLAY gamemode by browsing F1, then you could see in the PLAY gamemode in 'meta.xml': <include resource="freeroam" /> <include resource="spawnmanager" /> So then if you check both resources, you will find in the FREEROAM resource the 'skins.xml' file.
  14. Without resource we can't help you........ PS: You can better post this in the scripting area.
  15. good, if the rules are not being followed so that there is this topic? Doesn't answer my question why.
  16. it's handy to post the link of the resource from out of the community.
  17. Question: Why are mod not accepted? (Maybe a dumb question )
  18. Did you look by settings>the second one (Idk name). You can manage colors and such there. (I use Zenburn, works pretty neat)
  19. Et-win

    RestoreMarker

    The marker is getting created after 5 seconds the resource starts now. Now there will be an error that marker1 isn't found at the line where the addEventHandler's are. Do you even use debugscript 3? It's not a copy-past work this scripting, like you do. The example I gave is for respawning the marker. You should create the marker when the resource is started and add the setTimer function where you want to have it. (When the respawn is needed)
  20. Et-win

    RestoreMarker

    addEventHandler("onClientMarkerHit", marker, function(player) I used 'marker1', not 'marker'.
  21. Et-win

    RestoreMarker

    markerTable = { --[[Marker1: ]]{-1200.4541015625, -1035.0224609375, 129.1569519043, "Cylinder", 2, 255, 200, 0, 255}, --More markers if you want. } --Create/Respawn our marker in 5 seconds setTimer(function() marker1 = createMarker(markerTable[1][1], markerTable[1][2], markerTable[1][3], markerTable[1][4], markerTable[1][5], markerTable[1][6], markerTable[1][7], markerTable[1][8], markerTable[1][9]) end, 5000, 1)
  22. You want to make this ? addEventHandler("onClientVehicleExit", getRootElement(localPlayer),StopFunc) If you want to make this i tried already . function stopFunc(tPlayer) if (tPlayer == localPlayer) then --Stuff end end addEventHandler("onClientVehicleExit", getRootElement(), stopFunc)
  23. onPlayerQuit getPlayerTeam getPlayerAccount setAccountData -- onPlayerJoin getAccountData setPlayerTeam
×
×
  • Create New...