20.06.2012, 06:00
pawn Код:
new healthpickup;
public OnFilterScriptInit()
{
healthpickup = CreatePickup(1242, 23, 2240.7236,2449.3508,10.8203, 1);
printf("healthpickup = %d", healthpickup);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == healthpickup)
{
GameTextForPlayer(playerid, "~w~Type ~r~/enter~w~ to go inside", 5000, 5);
}
return 1;
}