01.12.2014, 19:24
You need to declare a Pickup.
like:
pickupdeathmatch = CreatePickup(...
and also add new pickupdeathmatch;
Then in that callback you check if the player picked up that pickup with the id.
like:
pickupdeathmatch = CreatePickup(...
and also add new pickupdeathmatch;
Then in that callback you check if the player picked up that pickup with the id.
Code:
if(pickupid == pickupdeathmatch)
{
//CODE
}

