simstosh Posted August 10, 2010 Posted August 10, 2010 I saw on a server that the cars around have little grey blips, like on SA-MP... How can I do that for my server? Thanks
Castillo Posted August 10, 2010 Posted August 10, 2010 function onResourceStart() local vehicles = getElementsByType( "vehicle" ) for k,v in ipairs(vehicles) do createBlipAttachedTo ( v, 0, 1, 255, 255, 0, 255 ) end end addEventHandler ( "onResourceStart", getRootElement(), onResourceStart )
trajik Posted August 10, 2010 Posted August 10, 2010 https://community.multitheftauto.com/index.html?p ... ils&id=128 add to your resources and start it up
Slothman Posted August 11, 2010 Posted August 11, 2010 that function by SolidSnake14 would create blips for all ehicles every time a resource starts, but not when new vehicles would be created. it could also lead to a car having 20 blips attached to it if you are running that many resources. good thing someone made a resource already for this purpose. seriously, people would be amazed at some of the stuff thats been created.
trajik Posted August 11, 2010 Posted August 11, 2010 I know it, there's scripts there that numerous people request here on the forums.....
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