06.10.2013, 15:41
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.
Really need to know how to do this, thanks.
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;
}
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;
}