-
Posts
334 -
Joined
-
Last visited
Everything posted by Jokeℝ1472771893
-
yes
-
players can kill me
-
need to be in ACL group Admin. but i try its don't work
-
SORRY ITS WORK VERY NICE TY FOR HELP
-
function createBarrier(player) if isFBI(player) then local x,y,z = getElementPosition(player) local xR,yR,zR = getElementRotation(player) createObject(3091,x,y,z,xR,yR,zR) end addCommandHandler("sperre",createBarrier) Like This?
-
the same thing here viewtopic.php?f=91&t=43342 -_-" its not same topic I ask how FBI can make Barriers
-
its in ACL need to be Admin or need to be in Staff Team?
-
and how to make thet only FBI for example can do it?
-
what i need to change it?
-
RP why you ask?
-
function createBarrier() local x,y,z = getElementPosition(getLocalPlayer()) local xR,yR,zR = getElementRotation(getLocalPlayer()) createObject(3091,x,y,z,xR,yR,zR) end addCommandHandler("sperre",createBarrier) Its make Barrier but only me can see it other players can't see
-
function togglestaffMode(thePlayer) local account = getPlayerAccount(thePlayer) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "Admin" ) ) ) then if getElementData(thePlayer,"invincible") then setElementData(thePlayer,"invincible",false) outputChatBox("Staff Mode is now off.",thePlayer,255,255,255) else setElementData(thePlayer,"invincible",true) outputChatBox("Staff Mode is now on.",thePlayer,255,255,255) end end end addCommandHandler("gostaff",togglestaffMode) How to make Admins Never Die and the player who whant to kill Admin loose Health?
-
что тут добавить что Админы не умерали никогда и кто хочет убить админа умирает сам function togglestaffMode(thePlayer) local account = getPlayerAccount(thePlayer) if (not account or isGuestAccount(account)) then return end local accountName = getAccountName(account) if ( isObjectInACLGroup ( "user.".. accountName, aclGetGroup ( "Admin" ) ) ) then if getElementData(thePlayer,"invincible") then setElementData(thePlayer,"invincible",false) outputChatBox("Staff Mode is now off.",thePlayer,255,255,255) else setElementData(thePlayer,"invincible",true) outputChatBox("Staff Mode is now on.",thePlayer,255,255,255) end end end addCommandHandler("gostaff",togglestaffMode)
-
sorry for posting again
-
But when i die i leav team
-
Thnx Very Much you help me
-
Oooops I See what is Problem LOL
-
But its dont work
-
local Skinmarker = createMarker ( 95.599998474121, 931.40002441406, 16.89999961853, "cylinder", 1.5, 33, 33, 33, 255 ) -- umkleide local theTeam = createTeam ( "Armed Force", 42, 77, 0 ) addEventHandler ( "onMarkerHit", Skinmarker, function ( hitElement ) if ( isPedInVehicle ( hitElement ) ) then return end if ( not isFBI ( hitElement ) ) then return end setElementModel ( hitElement, 287 ) setPlayerTeam ( hitElement, theTeam ) giveWeapon ( hitElement, 31, 1000, true ) giveWeapon ( hitElement, 3, 1, true ) giveWeapon ( hitElement, 29, 1000, true ) giveWeapon ( hitElement, 27, 1000, true ) end ) function isFBI ( thePlayer ) if ( not thePlayer ) then return false end local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) return isObjectInACLGroup ("user."..accName, aclGetGroup ( "FBI" ) ) end How to make it onmarkerhit set player team Armed Force?
-
But it gives all player i need that it give weapon only ACL group member
-
Thnx Again Bro You are Best Scripter
-
local Skinmarker = createMarker(931.40002441406, -1030.9000244141, 30.89999961853, "cylinder", 1.5, 33, 33, 33, 255) -- umkleide local theTeam = createTeam( "FBI", 31, 31, 31 ) addEventHandler("onMarkerHit", Skinmarker, function(hitElement) if(isPedInVehicle(hitElement)) then return end if not(isFBI(hitElement)) then return end setElementModel(hitElement, 286) setPlayerTeam(hitElement, theTeam) end) function isFBI(thePlayer) local accName = getAccountName ( getPlayerAccount ( thePlayer ) ) if isObjectInACLGroup ("user."..accName, aclGetGroup ( "FBI" ) ) then return true; else return false; end end how to give weapon here?
-
Thnx Guys
-
vehicleMarker = createMarker (938.79998779297,-1053.1999511719,30.60000038147, 'cylinder', 2.0, 16, 16, 16, 255 ) function vehicleMarkerHit ( hitElement, matchingDimension ) if ( isElement( hitElement ) and getElementType( hitElement ) == "player" and not isPedInVehicle (hitElement)) then local team = getPlayerTeam ( hitElement ) if ( getTeamName( team ) == "FBI" ) then local x, y, z = getElementPosition( hitElement ) local vehicle = createVehicle ( 490, 938.79998779297, -1050.5, 31.89999961853, 0, 0, 0 ) warpPedIntoVehicle( hitElement, vehicle ) else outputChatBox( "You must be on the FBI to use this.", hitElement, 255, 0, 0 ) end end end addEventHandler( "onMarkerHit", vehicleMarker , vehicleMarkerHit ) this make car onmarkerhit but how to make it like that when take first car and whant take second car first car disappear?
-
it is by ACL group or Team maded by Admin Panel