How do I make this?
#1

How do I make the little floating thing that looks like an "i" or a "!" where you walk into it it shows you text?

Really need to know how to do this, thanks.
Reply
#2

pawn Код:
new
    gPickupID;

public OnFilterScriptInit()
{
    gPickupID = CreatePickup( 1239, 23, X, Y, Z );
    return 1;
}

public OnPlayerPickUpPickup( playerid, pickupid )
{
    if ( pickupid == gPickupID )
    {
        // Put your code here
    }
    return 1;
}
Reply
#3

pawn Код:
new
    gPickupID;

public OnFilterScriptInit()
{
    gPickupID = CreatePickup( 1239, 23, X, Y, Z );
    return 1;
}

public OnPlayerPickUpPickup( playerid, pickupid )
{
    if ( pickupid == gPickupID )
    {
        GameTextForPlayer(playerid, "~w~Type ~r~/enter ~w~to go inside");
SetPlayerPos(playerid, your position);
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)