Rios
Новичок
Помогите 4 ошибки в одной строке что может быть?
я нуб ещё)
Ошибка:
Код:
Строка:
я нуб ещё)
Ошибка:
PHP:
C:\Users\Иван\Desktop\mafia-wars\gamemodes\rush.pwn(486) : error 001: expected token: ",", but found "-identifier-"
C:\Users\Иван\Desktop\mafia-wars\gamemodes\rush.pwn(486) : warning 215: expression has no effect
C:\Users\Иван\Desktop\mafia-wars\gamemodes\rush.pwn(486) : warning 215: expression has no effect
C:\Users\Иван\Desktop\mafia-wars\gamemodes\rush.pwn(486) : error 001: expected token: ";", but found ")"
C:\Users\Иван\Desktop\mafia-wars\gamemodes\rush.pwn(486) : error 029: invalid expression, assumed zero
C:\Users\Иван\Desktop\mafia-wars\gamemodes\rush.pwn(486) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
PHP:
UpdateWInfo(playerid){
new s = GetPlayerState(playerid);
if(s != PLAYER_STATE_ONFOOT && s!= PLAYER_STATE_DRIVER
&& s!=PLAYER_STATE_PASSENGER) return 1;
new w,a [max_line];
for(new i=0; i<max_slots; i++){
GetPlayerWeaponData(playerid w,a);
WInfo[playerid][i][0] = w;
WInfo[playerid][i][1] = a;
}
}
PHP:
GetPlayerWeaponData(playerid w,a);
