Ahmed Abo-elezz Posted November 12, 2014 Share Posted November 12, 2014 this code if Model player = 133 then do thing if ( getElementModel ( localPlayer ) == 133 ) then but i want code for wehicl it mean if model vehicl = 601 then do thing Link to comment
N1kS Posted November 12, 2014 Share Posted November 12, 2014 this code if Model player = 133 then do thing if ( getElementModel ( localPlayer ) == 133 ) then but i want code for wehicl it mean if model vehicl = 601 then do thing local pPlayerVehicle = getPedOccupiedVehicle ( localPlayer ) if pPlayerVehicle then if getElementModel ( pPlayerVehicle ) == 601 then -- Do you'r code here. end end Link to comment
Ahmed Abo-elezz Posted November 12, 2014 Author Share Posted November 12, 2014 this code if Model player = 133 then do thing if ( getElementModel ( localPlayer ) == 133 ) then but i want code for wehicl it mean if model vehicl = 601 then do thing local pPlayerVehicle = getPedOccupiedVehicle ( localPlayer ) if pPlayerVehicle then if getElementModel ( pPlayerVehicle ) == 601 then -- Do you'r code here. end end تشكر اخى Link to comment
Ahmed Abo-elezz Posted November 12, 2014 Author Share Posted November 12, 2014 this code if Model player = 133 then do thing if ( getElementModel ( localPlayer ) == 133 ) then but i want code for wehicl it mean if model vehicl = 601 then do thing local pPlayerVehicle = getPedOccupiedVehicle ( localPlayer ) if pPlayerVehicle then if getElementModel ( pPlayerVehicle ) == 601 then -- Do you'r code here. end end thank u 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