03.08.2009, 14:01
When I step on my pickups nothing happens... :S
It seems that OnPlayerPickUpPickup doesn't get called... why?
It seems that OnPlayerPickUpPickup doesn't get called... why?
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
new streampickupID;
streampickupID = IsStreamPickup(pickupid);
if( streampickupID >= 0 )
{
if( ValidStreamPickupPickUp(playerid, streampickupID) )
{
OnPlayerPickUpStreamPickup(playerid,streampickupID);
return 1;
}
return 0;
}
return 1;
}
public OnPlayerPickUpStreamPickup(playerid,pickupid)
{
//PICKUPS Goes here (this stuff worked without streamer)
return 1;
}