18.08.2010, 00:32
https://sampwiki.blast.hk/wiki/AddStaticPickup
pawn Код:
new TextPickup;
public OnGameModeInit()
{
TextPickup = AddStaticPickup(400, 2, 0.0, 0.0, 0.0, 0);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == TextPickup)
{
SendClientMessage(playerid, 0xFAFAFAF, "Your Text Here");
}
return 1;
}