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 only god (الله) اشهد ان لا اله الا الله واشهد ان محمد رسول الله
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) See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Apo Posted April 22, 2016 Author Posted April 22, 2016 if player enter the vehicle id 14 send massage for player only god (الله) اشهد ان لا اله الا الله واشهد ان محمد رسول الله
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? See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
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 only god (الله) اشهد ان لا اله الا الله واشهد ان محمد رسول الله
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