10.11.2009, 15:02
I want a "Info" icon in the game, when I run into the icon, a GameTextForPlayer should pop up.
Thank You
Thank You
new info;
info = CreatePickup(1239, 1, 2196.4102, 2411.9182, 10.8203) // Change these coords ( 1239 is already the I);
public OnPlayerPickUpPickup(playerid, pickupid)
{{
if(pickupid == info)
{ GameTextForPlayer(playerid, "Hello", 3000, 0); // 3000 is: 3 seconds x 1000 = 3000 cause it milli-seconds }
return 1;
}
}
Originally Posted by Jeffry
ON top of your gamemode:
pawn Code:
pawn Code:
pawn Code:
If any errors occur, just say. Hope that helped you. |
Originally Posted by Jeffry
ON top of your gamemode:
pawn Code:
pawn Code:
pawn Code:
If any errors occur, just say. Hope that helped you. |
new info;