Jump to content

Gr0x

Members
  • Posts

    109
  • Joined

  • Last visited

Everything posted by Gr0x

  1. function fixing ( ) local vehicle = getPedOccupiedVehicle ( source ) if (vehicle) then fixVehicle ( vehicle ) outputChatBox ( "Your vehicle was fixed!", source, 0, 255, 0 ) end end addCommandHandler("fixfix",fixing) bindKey("z","down","fixfix")
  2. Eh, i wrote one +then, sorry
  3. reason2 = " " addEventHandler('onClientPlayerJoin', root, function() outputChatBox('>> ' .. getPlayerName(source) .. ' dołącza do gry !', 0, 159, 255) end ) addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) outputChatBox('>> ' .. oldNick .. ' zmienił nick na ' .. newNick, 0, 159, 255) end ) addEventHandler('onClientPlayerQuit', root, function(reason) if reason == "Quit" then reason2 = "Wyszedł" elseif reason == "Kicked" then reason2 = "Wyrzucony" elseif reason == "Banned" then reason2 = "Zbanowany" then elseif reason == "Timed Out" then reason2 = "Rozłączono" elseif reason == "Bad Connection" then reason2 = "Błąd połaczenia" end outputChatBox('>> ' .. getPlayerName(source) .. ' opuścił serwer [' .. reason2 .. ']', 0, 159, 255) end ) I think it will work.
  4. i think you can do it with: if reason == "Quit" then reason = "Go away" end outputChatBox(...)
  5. Hi. only admins can use nextmap. Use this: exports.mapmanager:changeGamemodeMap(mapName)
  6. Hello! Here is your script teamhunters = createTeam ("Hunters", 0, 255, 0 ) teamreapers = createTeam ("Reapers", 200, 0, 100 ) teamstalkers = createTeam ( "Stalkers", 200, 0, 100 ) function player_Wasted() team = getPlayerTeam (source) if team == teamhunters then --blabla if team == teamreapers then --blabla if team == teamstalkers then --blabla end end end end addEventHandler ( "onPlayerWasted", getRootElement(), player_Wasted ) Hope i helped!
×
×
  • Create New...