Jump to content

[1.0] command [1.0]


mars

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...