10.12.2010, 15:10
pawn Код:
new pickup;
new pickup1;
pawn Код:
pickup = CreatePickup(1276, 1,318.30764770508, -2247.7016601563, 19.656326293945, -1);
pickup1 = CreatePickup(1276, 1, 967.01745605469, -53.267635345459, 1000.6781005859, -1);
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup)
{
//code
}
else if(pickupid == pickup1)
{
//code
}
return 1;
}