27.05.2009, 15:27
(
Последний раз редактировалось Jakku; 31.10.2010 в 13:21.
)
Please delete
new blah;
blah = CreatePickup(..., ..., ..., ..., ...);
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid = blah)
{
// Do something
}
return 1;
}
Originally Posted by Weirdosport
What he's trying to say is that the pickup ID is not the object you sued, but the value returned when you create the pickup. So you need to save it to a variable as shown.
|
Originally Posted by Jakku
Quote:
|
Originally Posted by Weirdosport
Quote:
|