Apo Posted April 22, 2016 Posted April 22, 2016 (edited) hi guys my code is not work please help me if player enter the vehicle id 14 send massage for player no warning no error function vehenter(source,seat) local veh = getPedOccupiedVehicle(source) local vehid= tonumber(getElementData(veh, "id")) if seat == 0 then if dbid == 14 then outputChatBox("welcome armin", source, 255, 0, 0) end end end addEventHandler("onVehicleEnter", getRootElement(), vehenter) Edited April 22, 2016 by Guest
Anubhav Posted April 22, 2016 Posted April 22, 2016 function vehenter(p,seat) local vehid = tonumber(getElementData(source, "id")) if seat == 0 then if dbid == 14 then outputChatBox("welcome armin", p, 255, 0, 0) end end end addEventHandler("onVehicleEnter", getRootElement(), vehenter)
Apo Posted April 22, 2016 Author Posted April 22, 2016 if player enter the vehicle id 14 send massage for player
Anubhav Posted April 22, 2016 Posted April 22, 2016 if player enter the vehicle id 14 send massage for player https://wiki.multitheftauto.com/wiki/Vehicle_IDs Which ID is that?
Apo Posted April 22, 2016 Author Posted April 22, 2016 if player enter the vehicle id 14 send massage for player https://wiki.multitheftauto.com/wiki/Vehicle_IDs Which ID is that? no veh id my server
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