18.03.2011, 11:11
How can I create pickups for houses bizz and etc.
new pickup;
public OnGameModeInit()
{
pickup = CreatePickup(1274, 2, 0.0, 0.0, 9.0);
// CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld)
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup)
{
// Do your code here example
SendClientMessage(playerid, -1, "Message here");
return 1;
}
return 1;
}