Quote:
Originally Posted by °ғαιιοцт°
Quote:
Originally Posted by Justas [SiJ
]
When I step on my pickups nothing happens... :S
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; }
|
The same happens to me, the script seems to stop at ValidStreamPickupPickup
|
SO maybe ValidStreamPickupPickUp can be removed? Cause my all pickups are streamed so there is no reason to check if pickup is streamed....