25.08.2012, 11:00
Quote:
What errors are you getting, exactly?
I'm not sure, but I believe you're forgetting the NULL character at the end, please correct me - anyone - if I'm mistaken. I believe your code right now, is the same as this: pawn Код:
pawn Код:
|
i tried to do this:
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
for(new i = 0; i<sizeof(a); i++)
if(pickupid == a[i]) GivePlayerMoney(playerid,10000);
return 1;
}
Код:
error 033: array must be indexed (variable "a")