15.03.2010, 12:02
Create the pickup using the function under ongamemodeinnit
AddStaticPickup(modelid,type,X,Y,Z);
under OnPlayerPickUpPickup(playerid,pickupid)
AddStaticPickup(modelid,type,X,Y,Z);
under OnPlayerPickUpPickup(playerid,pickupid)
pawn Код:
public OnPlayerPickUpPickup(playerid,pickupid)
{
GivePlayerMoney(playerid,10000);
return 1;
}