20.03.2010, 15:27
FIXED!
if(RacePos[playerid] == 1)
{
GivePlayerMoney(playerid,10000);
}
return 1;
}
Originally Posted by jameskmonger
pawn Код:
|
Originally Posted by ikarus
Quote:
![]() |
new RacePos;
new RacePos[MAX_PLAYERS];
Originally Posted by Rac3r
Kyosaur!! means :
Код:
new RacePos; Код:
new RacePos[MAX_PLAYERS]; |
F:\Street Racers And Drifters\filterscripts\Race.pwn(314) : error 022: must be lvalue (non-constant) F:\Street Racers And Drifters\filterscripts\Race.pwn(314) : warning 215: expression has no effect F:\Street Racers And Drifters\filterscripts\Race.pwn(439) : error 033: array must be indexed (variable "RacePos")
RacePos ++;
RacePos = 0;
Originally Posted by ikarus
Quote:
Код:
F:\Street Racers And Drifters\filterscripts\Race.pwn(314) : error 022: must be lvalue (non-constant) F:\Street Racers And Drifters\filterscripts\Race.pwn(314) : warning 215: expression has no effect F:\Street Racers And Drifters\filterscripts\Race.pwn(439) : error 033: array must be indexed (variable "RacePos") pawn Код:
pawn Код:
|
Originally Posted by Kyosaur!!
Quote:
314 - RacePos[playerid]++; 439 - RacePos[playerid] = 0; If playerid isnt available, you're going to have to make a for/loop to go through all the player ids. |
Originally Posted by ikarus
Quote:
|