24.11.2012, 12:25
If i make a pickup it will send me to the correct interior, if i make 2 pickups then the first one i created basicly disables itself so when i go over to it it does nothing and the new pickup works as it should.
What have i done wrong?
What have i done wrong?
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
for(new i = 0; i < sizeof(BizInfo);i++)
{
if(pickupid == BizInfo[i][pickup])
{
SetPlayerInterior(playerid, BizInfo[i][intera]);
}
}
return 1;
}