[UCG]Mike Posted August 3, 2014 Posted August 3, 2014 Hey Guys today i want to know how to create other job marker but join to other job with other occupation and im sry for my bad english I WANT : How to create other job to joi to Civilian Workes but with other occuation function createSAPDTeam () PilotTeam = createTeam ("Civilian Workers", 255, 255, 0) end function joincriminal() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then local wlevel = getPlayerWantedLevel( source ) end end addEventHandler ("onResourceStart", resourceRoot, createSAPDTeam) function joinSAPD() setPlayerNametagColor ( source, 255, 255, 0 ) setPlayerTeam(source,PilotTeam) setElementFrozen ( ped, true ) setElementHealth ( ped, 180 ) setElementData( source, "Occupation", "Pilot", true ) setElementData ( source, "Rank", "Federal Agent" ) end addEvent("gov", true) addEventHandler("gov",root,joinSAPD) this is the real job --------------------------------------------------------------------------------------------------------------------------------------------------- function createSAPDTeam () RescuerTeam = createTeam ("Civilian Workers", 255, 255, 0) end function joincriminal() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then local wlevel = getPlayerWantedLevel( source ) end end addEventHandler ("onResourceStart", resourceRoot, createSAPDTeam) function joinSAPD() setPlayerNametagColor ( source, 255, 255, 0 ) setPlayerTeam(source,RescuerTeam) setElementFrozen ( ped, true ) setElementHealth ( ped, 180 ) setElementData( source, "Occupation", "Rescuer Man", true ) setElementData ( source, "Rank", "Federal Agent" ) end addEvent("gov", true) addEventHandler("gov",root,joinSAPD) i want to add this job ti Civilian Workes Job but with Rescuer Man Occupation
Castillo Posted August 3, 2014 Posted August 3, 2014 function joincriminal() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then local wlevel = getPlayerWantedLevel( source ) end end What is that for? And what is the main problem? you are trying to create two jobs?
[UCG]Mike Posted August 3, 2014 Author Posted August 3, 2014 function joincriminal() if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then local wlevel = getPlayerWantedLevel( source ) end end What is that for? And what is the main problem? you are trying to create two jobs? no i want to create one job with 2 Ocuupations and 2 Markers
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