Pickup not working
#1

Solved
Reply
#2

I'm not entirely sure why you aren't creating one large array with 60 cells instead of several smaller ones.
You need a loop like this:

pawn Код:
for(new i; i < sizeof(ArmorPick); i++)
{
    if(pickupid == ArmorPick[i])
    {
        // SetPlayerArmour etc
        break;
    }
}
Reply
#3

thanks worked
rep ++
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)