20.06.2012, 05:45
I created a pickup and i'm not seeing it. (my positions are correct) XYZ coord
here's my code:
pickup won't load. :/
here's my code:
Код:
new healthpickup;
public OnFilterScriptInit()
{
healthpickup = CreatePickup(1242, 23, 2240.7236,2449.3508,10.8203, 1);
printf("healthpickup = %d", healthpickup);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == healthpickup)
{
GameTextForPlayer(playerid, "~w~Type ~r~/enter~w~ to go inside", 5000, 5);
return 1;
}
return 1;
}


