01.06.2012, 22:48
pawn Код:
AddStaticPickup(1239, 2, 2176.3914,-2258.8840,14.7734, 0);
pawn Код:
new YOUR_VAR; // on top
YOUR_VAR = CreatePickup( 1239, 2, 2176.3914,-2258.8840,14.7734, 0 ); // on gamemode init
public OnPlayerPickUpPickup( playerid, pickupid )
{
if( pickupid == YOUR_VAR )
{
// your function
}
return 1;
}
Hope this helps
-FalconX