29.05.2009, 13:43
pawn Код:
public OnGamemodeInit()
{
P1 = CreateStreamPickup(1550,3,2194.1262,-2542.4609,21.4924,50);
P2 = CreateStreamPickup(1550,3,304.8517,-1479.0131,24.5938,50);
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == P1)
{
something
}
if(pickupid == P2)
{
something else
}
}