06.07.2012, 01:19
Hello there, I am creating a Kill Confirmed gamemode for myself and a couple of friends and I'm wondering, when I die, I want to have some sort of "Tag" that needs picking up.
BUT, when I come to use pickups, I can't think how I would make then able to be picked up under OnPlayerPickupPickup.
Under OnPlayerDeath(playerid, killerid, reason)
I could have:
CreatePickup(...);
But, with the actual thing, I would need to have it under OnPlayerPickupPickup, so then I can check a team members team to a pickup icon...
Say, if I was on the Marines team and got killed by a spetsnaz, if a Marine was to pick it up, it would just remove the pickup, where as if I was on the Spetsnaz team and I picked it up, it would add +1 to the points?
Thanks!
BUT, when I come to use pickups, I can't think how I would make then able to be picked up under OnPlayerPickupPickup.
Under OnPlayerDeath(playerid, killerid, reason)
I could have:
CreatePickup(...);
But, with the actual thing, I would need to have it under OnPlayerPickupPickup, so then I can check a team members team to a pickup icon...
Say, if I was on the Marines team and got killed by a spetsnaz, if a Marine was to pick it up, it would just remove the pickup, where as if I was on the Spetsnaz team and I picked it up, it would add +1 to the points?
Thanks!