Jump to content

geeko17

Members
  • Posts

    1
  • Joined

  • Last visited

Details

  • Gang
    SICARIOS

geeko17's Achievements

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody.

I ordered some spaghetti with marinara sauce and I got egg noodles and ketchup. I'm an average nobody. (2/54)

0

Reputation

  1. ingles help this script that's private to my rio clan thing you need is that this paper will serve me for several teams the truth only 1 that works for me is the admin español help este script ese de private clan para mi rio nececito que este escrito me sirva para varios teams la verdad solo me funciona para 1 que es el admin is hard english traslator google thing you need is help to put multiple teams this script is the private clan that I only work-in-1 is admin thing you need is that I work for several teams help me my game mode is the river addEventHandler("spawnteam",getRootElement(), teams) function isAdminAccount(account) local nick = "" local group = aclGetGroup("Admin") if (account and group) then nick = string.lower(getAccountName(account) or "") for _, object in ipairs(aclGroupListObjects(group) or {}) do if (gettok(object, 1, string.byte('.')) == "user") then if (nick == string.lower(gettok(object, 2, string.byte('.')))) then return true end end end end return false end completo full if teamSelection == "Admin" then local taccount = getPlayerAccount ( source ) if isAdminAccount(taccount) then setPlayerTeam ( source, teamAdmin ) local x,y,z x = 954 y = -912 z = 46 spawnPlayer ( source, x,y,z ) fadeCamera(source, true) giveWeapon ( source, 3, 1 ) giveWeapon ( source, 24, 500 ) giveWeapon ( source, 31, 500 ) giveWeapon ( source, 28, 500 ) setElementHealth ( source, 100 ) setPlayerNametagColor ( source, 0,180,255) setPedSkin ( source, 287 ) playSoundFrontEnd ( source, 45 ) setTime ( hour, mins+1 ) else outputChatBox ( "You must be logged in as admin", source, 255,0,0 ) triggerClientEvent(source, "onTeamadmin", getRootElement(),source) end end setTime ( hour, mins+1 ) startSpawnProtection(source) setCameraTarget(source,source) for i=59,81 do setPedStat(source, i, 1000) end --outputDebugString(getPlayerName(source).." Spawned! Team: "..getTeamName(getPlayerTeam(source))) end addEventHandler("spawnteam",getRootElement(), teams) function isAdminAccount(account) local nick = "" local group = aclGetGroup("Admin") if (account and group) then nick = string.lower(getAccountName(account) or "") for _, object in ipairs(aclGroupListObjects(group) or {}) do if (gettok(object, 1, string.byte('.')) == "user") then if (nick == string.lower(gettok(object, 2, string.byte('.')))) then return true end end end end return false end ayuda nececito crear teams private y solo me funciona eso en solo el admin creo otro con el mismo codigo y el server me tira error "end" nececito para varios teams pliss
×
×
  • Create New...