28.08.2013, 22:17
Код:
CMD:engineon(playerid, params[]) { new objective; new boot; new bonnet; new doors; new alarm; new lights; new vehicleid = GetPlayerVehicleID(playerid); if GetPlayerState(playerid) == 2 GetVehicleParamsEx(vehicleid, 0, lights, alarm, doors, bonnet, boot, objective) SetVehicleParamsEx(vehicleid, 1, lights, alarm, doors, bonnet, boot, objective) SendClientMessage(playerid, 0x99FF33,"The Engine has been turned on"); if GetPlayerState(playerid) == !2 SendClientMessage(playerid, 0x99FF33,"You arent event in a vehicle idiot!"); return 1; }
Код:
C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\pawno\strapz.pwn(27) : warning 217: loose indentation C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\pawno\strapz.pwn(540) : error 001: expected token: "*then", but found "-identifier-" C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\pawno\strapz.pwn(540) : error 035: argument type mismatch (argument 2) C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\pawno\strapz.pwn(542) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\pawno\strapz.pwn(544) : warning 213: tag mismatch C:\Documents and Settings\Administrador\Ambiente de trabalho\samp03x_svr_R1-2_win32\pawno\strapz.pwn(544) : error 001: expected token: "*then", but found "-identifier-" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.