18.10.2011, 14:16
is this what you want?if yes.. change the Cords and you have to work some more on it.. it's just a half example :P
pawn Код:
public OnGameModeInit()
{
Pickup = CreatePickup(1559, 2, 0.0, 0.0, 0.0, 1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Pickup){
//Do something here
}
return 1;
}