[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 You are now in Mark Zone !!!
[UCG]Mike Posted August 3, 2014 Author Posted August 3, 2014 wtf no supporters here You are now in Mark Zone !!!
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? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
[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 You are now in Mark Zone !!!
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