05.10.2010, 15:19
You define the pickup position while creating the pickup
pawn Код:
new TH1;
TH1 = CreatePickup(model,type, PosX,PosY,PosZ, virtualworld);
public OnPlayerPickupPickUp(playerid, pickupid)
{
if (pickupid == TH1) {
//Something happens
}
return 1;
}