Jump to content

Thivenin

Members
  • Content Count

    41
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Thivenin

  • Rank
    Rat
  1. addCommandHandler("wss", function(sender, command, ...) local accName = getAccountName ( getPlayerAccount ( sender ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "Admin" ) ) or isObjectInACLGroup ("user."..accName, aclGetGroup ( "Moderator" ) ) then local message = table.concat( {...} , " " ) if message ~= "" then local sendTo = aclGroupListObjects(aclGetGroup("Admin")) or aclGroupListObjects(aclGetGroup("Moderator")) for i,b in ipairs(sendTo) do if not getElementData(b, getRootElement(), "wssChatDisable") then
  2. Hey everyone, I'm playing a server wich is alive since 1 year now, this server is called Why So Serious we've got an awesome community with alot of fun like the server name says we are not always serious we are mostly fun. We've got our own script ( scripted by Beatles1 and Funstein ) we also have some awesome mod ! here some screen of our mods : The Fast and Furious 6 car can jump by pressing SHIFT and the flying car can fly by pressing SHIFT (they are very expensive) we also have some skin mod ( purchasable by gangs and squad ) We got more and more mods but I can't post them all th
  3. not sure that will work tbh, because I want a time different for copTeams and for crimTeams
  4. Thivenin

    Prison Gate

    hai all, I have a problem first here the script : --Teams copTeams = { ["Police"] = true, ["Squads"] = true, ["SCO19"] = true, ["United States Secret Service"] = true, ["The United States Army"] = true } criminalTeams = { ["Criminals"] = true, ["The Confederate States Army"] = true, ["Gangs"] = true, ["Night Factory"] = true } --First door FirstDoor = createObject ( 2929, 288.299, 1411.199, 11.199, 0, 0, 90 ) FirstMarker = createMarker ( 288.7, 1411.5, 9.399, "cylinder", 5, 255, 0, 0, 0 ) function firstDoorCops ( markerHit,
  5. opening/closing well, but I'm not even in the team and it's working
  6. gatecol = createColCircle ( 1105.59, -1794.6, 10 ) firstObject = createObject ( 974, 1105.59, -1794.6, 18.39, 0, 0, 90 ) secoundObject = createObject ( 974, 1105.59, -1798.99, 18.39, 0, 0, 90 ) moving = false function move ( thePlayer ) if ( getTeamName ( getPlayerTeam ( thePlayer ) ) == "United States Olympic Committee" ) then if ( moving ) then return end if ( eventName == "onColShapeHit" ) then moveObject ( firstObject, 1500, 1105.59, -1794.6, 18.39 ) moveObject ( secoundObject, 1500, 1105.59, -1798.99, 18.39 )
  7. oops I failed, I meant start a time when we hit startMarker and stop that time when we hit finishMarker
  8. hai, I wanna start a marker when the player hit the marker "startMarker" and stop it and tell you our time startMarker = createMarker ( -5475, 2376, 15, "checkpoint", 8, 250, 0, 0, 255 ) finishMarker = createMarker ( -5460, 2376, 15, "checkpoint", 8, 250, 0, 0, 255 ) local seconds = 0 function startRace () if ( markerHit == startMarker ) then timer = setTimer(seconds_function, 1000, 0) end end addEventHandler("onMarkerHit", getRootElement(), startRace) function seconds_function () seconds = seconds + 1 end function finishRace (MarkerHit, matchingDime
  9. u.u SAUR player are good scripter ^^ first one doesn't work, same errors but secound one works, thanks you very much I finished my long script wich I'm doing since thursday
  10. hai, I need again help.... like everyday ^^ local allowedTeams = { ["USOC Member"] = true } firstObject = createObject ( 974, 1153.8, -1766.09, 18.39 ) secoundObject = createObject ( 974, 1154.69, -1766.09, 18.39 ) local open = false function USOCDoor () local playerTeam = getPlayerTeam ( source ) if getTeamName ( playerTeam ) == "USOC Member" then if open then moveObject ( firstObject, 3000, 1153.8, -1766.09, 18.39 ) moveObject ( secoundObject, 3000, 1154.69, -1766.09, 18.39 ) open = true else if not open then
  11. before testing your script, I were saying "if his script work, I will kill that guy and I will get his scripting skill" I think I know what to do, what is your real address ? joke, that is working perfectly, thank you very much ( again )
  12. both doesn't work ^^ there is not any error, it's not repairing the car and the marker isn't despawning
  13. no, I want that when we take the marker, it's giving us a repair and we can take is only every 30 scd
  14. as it's on the same screen I post it here I have a problem I explain after the pub, jk : DDseventhMarker = createMarker ( -1410, 998, 1025, "corona", 2, 250, 0, 250, 255 ) setElementInterior ( DDseventhMarker, 15 ) function DDrepair ( markerHit, matchingDimension ) if ( markerHit == DDseventhMarker ) then setMarkerColor ( DDseventhMarker, 250, 0, 250, 0 ) thePlayer = source fixVehicle ( thePlayer ) timer = setTimer ( DDrepair, 30000, 1 ) end end killTimer ( timer ) addEventHandler ( "onPlayerMarkerHit", getRootElement(), DDrepair ) I want to ma
  15. I can't answer you, I saw that it's needed on another script, so I putted it
×
×
  • Create New...