26.01.2010, 11:05
Hey,
Is there any difference if I return 1 or return 0 at (let's say) callback OnPlayerPickupPickUp?
Like:
[pawn]
public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == SomePickup)
{
}
if(pickupid == AnotherPickup)
{
}
return 0/1; (as well as here, at the very end of callback?)
}
Is there any difference if I return 1 or return 0 at (let's say) callback OnPlayerPickupPickUp?
Like:
[pawn]
public OnPlayerPickUpPickup(playerid,pickupid)
{
if(pickupid == SomePickup)
{
}
if(pickupid == AnotherPickup)
{
}
return 0/1; (as well as here, at the very end of callback?)
}