yMassai Posted April 12, 2012 Posted April 12, 2012 addEvent("CriminososJob",true) function CriminososJob() triggerClientEvent(source,"CriminososJob",root,TheX,TheY) setPlayerTeam(source,getTeamFromName("Criminosos")) id = getElementModel () if ( id == 124 ) then end end addEventHandler("CriminososJob",root,haveMonkeyJob) I wanted to get a team and a skin. Bad argument @ 'getElementModel'
DNL291 Posted April 12, 2012 Posted April 12, 2012 addEvent("CriminososJob",true) function CriminososJob() triggerClientEvent(source,"CriminososJob",root,TheX,TheY) setPlayerTeam(source,getTeamFromName("Criminosos")) id = getElementModel (source) if ( id == 124 ) then end end addEventHandler("CriminososJob",root,CriminososJob)
Castillo Posted April 12, 2012 Posted April 12, 2012 Show us how you trigger the "CriminososJob" event.
Kenix Posted April 12, 2012 Posted April 12, 2012 Ninguem[ATZ] https://wiki.multitheftauto.com/wiki/Scr ... troduction viewtopic.php?f=148&t=40809 https://wiki.multitheftauto.com/wiki/Event_system
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