-
Posts
23 -
Joined
-
Last visited
Everything posted by DaemonHunter
-
Yeah, nice map dude good job
-
Gooooooooooooooood job!
-
good, and also nice mod for your car
-
really nice map!
-
really good map, nice!
-
client side addEventHandler ( "onClientPlayerDamage",root, function () if getElementData(source,"invincible") then cancelEvent() end end) addEventHandler("onClientPlayerStealthKill",localPlayer, function (targetPlayer) if getElementData(targetPlayer,"invincible") then cancelEvent() end end) server side bstaffteam = createTeam ( "Staff", 255, 255, 255 ) function staff (Player) local account = getPlayerAccount(Player) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "Admin" ) ) ) then setPlayerTeam (Player, staffteam ) setElementData(Player, "Occupation", "Staff") setElementModel ( Player, 217) end end addCommandHandler("staff",staff) addEvent("staff",true) addEventHandler("staff",getRootElement(),staff) function getPlayersInGroup( accName ) local Table = { } for _,v in pairs( getElementsByType( "player" ) ) do local accName = getAccountName ( getPlayerAccount ( v ) ) if (isObjectInACLGroup ("user." .. accName, aclGetGroup("Admin")) ) then table.insert( Table,v ) end end return Table end if getElementData(thePlayer,"invincible") then setElementData(thePlayer,"invincible",false) else setElementData(thePlayer,"invincible",true) end I found this script on a forum, the question is: does this script make the admins immortal?
-
thank you for all help!
-
what is the problem now? I was only asking if it is correct...
-
for _, thePlayer in ipairs (getElementsByType("player")) do local gang = exports [ 'ROADgang' ]:getAccountGang ( getAccountName ( getPlayerAccount ( thePlayer ) ) ) if (gang == "SWAT" ) then setPedStat ( onPlayerSpawn , 24, 200 ) end end do you mean something like this?
-
how can I fix it?
-
no matter for the music
-
why dont you just help the guy , if you cant dont post STFU. blazy@ i think he need it with event onPlayerSpawn. what is the difference?
-
the video has bad quality but the map is pretty good
-
actually I really don't like the map, the area changes too often, I don't like also the music taht you've chosen for the vidieo but no matter for this particular.
-
why dont you just help the guy , if you cant dont post He already helped, read before post these type of things. He hlped me a lot. but i didnt understnd the sentence: "because you didn't show the entire code" this is the entire code
-
so it must be like this one? local gang = exports [ 'ROADgang' ]:getAccountGang ( getAccountName ( getPlayerAccount ( thePlayer ) ) ) if (gang == "SWAT" ) then setPedStat ( thePlayer, 24, 999 )
-
hi guys is this codee correct? local gang = exports [ 'ROADgang' ]:getAccountGang ( getAccountName ( getPlayerAccount ( thePlayer ) ) ) if (gang == "SWAT" ) then setPedStat ( ped thePed, int 24, float 200 )
-
another question: what is a standard player max health?
-
but the ped are players?
-
is it possible to increase player's max health?
-
qualcuno saprebbe dirmi quant'è la vista di un giocatore standard?
-
scusa ma non fai prima a postare il codice che gli diamo un occhiata?