30.05.2011, 14:59
Is this a possible working code?
Because im getting a error by compiling i think i might do something wrong...
Anyone please could take a look at the code and tell me whats wrong?
Thanks, regards.
Because im getting a error by compiling i think i might do something wrong...
pawn Код:
new Variable[5];
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
if(pickupid == Variable[]) // line 2801
{
switch(pickupid)
{
case 0: return 1; //something happens here
case 1: return 1; //...
case 2: return 1; //...
case 3: return 1; //...
case 4: return 1; //...
}
}
return 1;
}
Код:
(2801) : error 029: invalid expression, assumed zero
Thanks, regards.