iMr.3a[Z]eF Posted June 20, 2013 Share Posted June 20, 2013 ANY TIME DUDE try it if its wrong or didnt works write "debugscript 3" in console and tell me what's wrong Link to comment
AHMAD1234 Posted June 20, 2013 Author Share Posted June 20, 2013 ANY TIME DUDEtry it if its wrong or didnt works write "debugscript 3" in console and tell me what's wrong Ok Edit: but it is okay it is run as well Link to comment
iMr.3a[Z]eF Posted June 20, 2013 Share Posted June 20, 2013 you mean the script works successfully ? Link to comment
AHMAD1234 Posted June 20, 2013 Author Share Posted June 20, 2013 you mean the script works successfully ? yep Link to comment
iMr.3a[Z]eF Posted June 20, 2013 Share Posted June 20, 2013 you mean the script works successfully ? yep good i dont know why the best scripter "prestege" say its wrong whatever you are welcome Link to comment
iPrestege Posted June 20, 2013 Share Posted June 20, 2013 player is not defined in getPlayerTeam. Link to comment
iMr.3a[Z]eF Posted June 20, 2013 Share Posted June 20, 2013 player is not defined in getPlayerTeam. but he said its works Link to comment
iMr.3a[Z]eF Posted June 20, 2013 Share Posted June 20, 2013 its defined look up of the codes local team = getPlayerTeam ( player ) addEvent( "onVehicleStartEnter", true ) addEventHandler( "onVehicleStartEnter", getRootElement(), function( player ) if(source==veh[player])then if (getTeamName( team ) == "yourTeam")then cancelEvent() r,b,g = math.random(0, 255), math.random(0, 255), math.random(0, 255) outputChatBox( "* Only For Team !", player,r,b,g, true ) else r,b,g = math.random(0, 255), math.random(0, 255), math.random(0, 255) outputChatBox( "* Welcome Team", player, r,b,g, true ) end end end ) Link to comment
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