mars Posted August 25, 2009 Share Posted August 25, 2009 srry for all those post but i'm getting ccrazy of this 1. i'm trying alot but nothing works. can some1 make this work for me. function CreateBlip(player) local blip=createBlipAttachedTo(player, 52, 2, 255, 0, 0, 255, 0, 10000, player ) setElementData( player,"omgblip",blip ); outputChatBox("Blip attached to you",player) for i, plr in pairs( getElementsByType( "player" ) ) do skin = getPedSkin( plr ) if skin == 211 then setElementVisibleTo( blip, player, true ) else end end end addCommandHandler ("taxi",CreateBlip) function DestroyBlip(player) local blip = getElementData( player, "omgblip" ); if ( blip ) then destroyElement( blip ) outputChatBox("fare is being helped",player) end end addCommandHandler ("canceltaxi",DestroyBlip) very much thx. Link to comment
50p Posted August 26, 2009 Share Posted August 26, 2009 Why do you create new topic for the same question?! And explain more in 1 post... 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