26.12.2010, 16:15
(
Последний раз редактировалось trapped1; 26.12.2010 в 16:46.
)
Код:
\samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : error 002: only a single statement (or expression) can follow each "case" \samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : error 029: invalid expression, assumed zero \samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : warning 215: expression has no effect \samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : error 017: undefined symbol "i" \samp03csvr_RC7_win32\gamemodes\penls.pwn(3692) : fatal error 107: too many error messages on one line
Код:
case 10: { for(new i = 0; i <= MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if (!IsPlayerInVehicle(i, stealcar)) { SetAllPlayerCheckpoint(cwx, cwy, cwz, 16.0, 255); SetVehicleParamsForPlayer(stealcar,i,1,0); } } } return 1; } for(new i = 0; i <= MAX_PLAYERS; i++) //code error line { if(IsPlayerConnected(i)) { if (!IsPlayerInVehicle(i, stealcar)) { SetPlayerCheckpoint(i,scx, scy, scz,5.0 ); SetVehicleParamsForPlayer(stealcar,i,1,0); } //SetAllPlayerCheckpoint(scx, scy, scz, 16.0, 255); } } return 1; }