Assigning a pickup and then reading the ID
#1

Okay so at a loading point i assign my pickup like this
pawn Код:
AClubData[i][PickUpID] = CreateDynamicPickup(1273, 1, AClubData[i][ClubX], AClubData[i][ClubY], AClubData[i][ClubZ], -1);
But now how do i retrieve the id for OnPlayerPickupPickup?
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerPickUpPickup

That should explain everything to you.
Reply
#3

PHP код:
for(new 0valuei++)
{
    if(
pickupid == AClubData[i][PickUpID])
    {
        
// code
        
break;
    }

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)