08.08.2010, 20:20
Im making a Script... And i want to make so when a player dies, he drops some cash.... actually 1 pickup for each player... i was wondering if i could use something like this
Pickupid[playerid] = CreatePickup(...)...
And will it work if i put it OnPlayerPickupPickup
if pickupid == Pickupid[playerid]...
i've tried... didnt work so i erased and started a new system.... but i was wondering if there is a way to do it this way...
Pickupid[playerid] = CreatePickup(...)...
And will it work if i put it OnPlayerPickupPickup
if pickupid == Pickupid[playerid]...
i've tried... didnt work so i erased and started a new system.... but i was wondering if there is a way to do it this way...