PaulDK Posted May 6, 2014 Posted May 6, 2014 Hey Guys i need help. Anyone Help me cuz i want if i create POLICE and CRIME gang cannot be Deleted by anyone. Thanks in Advance Great Minds Think Alone -YoungKhalifa
-.Paradox.- Posted May 6, 2014 Posted May 6, 2014 What do you want exactly? If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
xeon17 Posted May 6, 2014 Posted May 6, 2014 Post your gang system script please. A unique GangWar gamemode waiting for you!Click here for more information.
PaulDK Posted May 7, 2014 Author Posted May 7, 2014 function CrimeGang(player) if getPlayerTeam(player) ~= CRIMETeam then if isElementWithinMarker(player, myMarker7) then setPlayerTeam(player, CRIMETeam) outputChatBox("#FF0000[CRIME]#FFFFFF You are now #FF0000A Crime !", player, 0, 0, 0, true) end end end addCommandHandler("crime", CrimeGang) function criminal ( thePlayer, matchingDimension ) if isElementWithinMarker(thePlayer, myMarker7) then giveWeapon(thePlayer, 4, 1) setElementModel(thePlayer, 28) else outputChatBox("You Are not At The Right Place!", thePlayer, 255, 0, 0) end end addCommandHandler("crime", criminal) function onSpawn() if getPlayerTeam(source) == CRIMETeam then setElementPosition(source, 1292.5395507813, -771.5126953125, 95.961303710938) end end addEventHandler("onPlayerSpawn", root, onSpawn) addEventHandler("onMarkerHit", myMarker7, function(player) if getElementType(player) == "player" then outputChatBox("#FF0000[CRIME]#FFFFFFTo become a #FF0000CRIME #FFFFFFwrite /crime", player, 0, 0, 0, true) end end) function LeaveCRIME(player) if getPlayerTeam(player) then setPlayerTeam(player, nil) outputChatBox("#FF0000[CRIME]#0000FF You leaved in CRIME Gang", player, 255, 255, 255, true) else outputChatBox("#FF0000[CRIME]#0000FF You Dont Have a gang.", player, 255, 255, 255, true) end end addCommandHandler("leavecrime", LeaveCRIME) function gang ( ) if getPlayerTeam(source) ~= CRIMETeam then setPlayerTeam(source, nil) end end addEventHandler("onPlayerLogin", getRootElement(), gang) this is my script i want it cannot be deleted Thanks in Advance ...
xeon17 Posted May 9, 2014 Posted May 9, 2014 As far i see , the gang can't be deleted by a command in this script.. A unique GangWar gamemode waiting for you!Click here for more information.
-.Paradox.- Posted May 9, 2014 Posted May 9, 2014 function CrimeGang(player) if getPlayerTeam(player) ~= "CRIMETeam" then if isElementWithinMarker(player, myMarker7) then setPlayerTeam(player, CRIMETeam) outputChatBox("#FF0000[CRIME]#FFFFFF You are now #FF0000A Crime !", player, 0, 0, 0, true) end end end addCommandHandler("crime", CrimeGang) function criminal ( thePlayer, matchingDimension ) if isElementWithinMarker(thePlayer, myMarker7) then giveWeapon(thePlayer, 4, 1) setElementModel(thePlayer, 28) else outputChatBox("You Are not At The Right Place!", thePlayer, 255, 0, 0) end end addCommandHandler("crime", criminal) function onSpawn() if getPlayerTeam(source) == "CRIMETeam" then setElementPosition(source, 1292.5395507813, -771.5126953125, 95.961303710938) end end addEventHandler("onPlayerSpawn", root, onSpawn) addEventHandler("onMarkerHit", myMarker7, function(player) if getElementType(player) == "player" then outputChatBox("#FF0000[CRIME]#FFFFFFTo become a #FF0000CRIME #FFFFFFwrite /crime", player, 0, 0, 0, true) end end) function LeaveCRIME(player) if getPlayerTeam(player) then setPlayerTeam(player, nil) outputChatBox("#FF0000[CRIME]#0000FF You leaved in CRIME Gang", player, 255, 255, 255, true) else outputChatBox("#FF0000[CRIME]#0000FF You Dont Have a gang.", player, 255, 255, 255, true) end end addCommandHandler("leavecrime", LeaveCRIME) function gang ( ) if getPlayerTeam(source) ~= CRIMETeam then setPlayerTeam(source, nil) end end addEventHandler("onPlayerLogin", getRootElement(), gang) If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
WASSIm. Posted May 9, 2014 Posted May 9, 2014 function CrimeGang(player) if getPlayerTeam(player) ~= "CRIMETeam" then if isElementWithinMarker(player, myMarker7) then setPlayerTeam(player, CRIMETeam) outputChatBox("#FF0000[CRIME]#FFFFFF You are now #FF0000A Crime !", player, 0, 0, 0, true) end end end addCommandHandler("crime", CrimeGang) function criminal ( thePlayer, matchingDimension ) if isElementWithinMarker(thePlayer, myMarker7) then giveWeapon(thePlayer, 4, 1) setElementModel(thePlayer, 28) else outputChatBox("You Are not At The Right Place!", thePlayer, 255, 0, 0) end end addCommandHandler("crime", criminal) function onSpawn() if getPlayerTeam(source) == "CRIMETeam" then setElementPosition(source, 1292.5395507813, -771.5126953125, 95.961303710938) end end addEventHandler("onPlayerSpawn", root, onSpawn) addEventHandler("onMarkerHit", myMarker7, function(player) if getElementType(player) == "player" then outputChatBox("#FF0000[CRIME]#FFFFFFTo become a #FF0000CRIME #FFFFFFwrite /crime", player, 0, 0, 0, true) end end) function LeaveCRIME(player) if getPlayerTeam(player) then setPlayerTeam(player, nil) outputChatBox("#FF0000[CRIME]#0000FF You leaved in CRIME Gang", player, 255, 255, 255, true) else outputChatBox("#FF0000[CRIME]#0000FF You Dont Have a gang.", player, 255, 255, 255, true) end end addCommandHandler("leavecrime", LeaveCRIME) function gang ( ) if getPlayerTeam(source) ~= CRIMETeam then setPlayerTeam(source, nil) end end addEventHandler("onPlayerLogin", getRootElement(), gang) getPlayerTeam is return team element
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now