26.01.2011, 17:58
Код:
public OnPlayerDisconnect(playerid, reason) { new vehid = GetPlayerVehicleID(playerid); new state = GetPlayerState(playerid); if(state = PLAYER_STATE_DRIVER) { Lock[vehid] = 0; SendClientMessage(playerid,0xF11111,"Car open!"); } return 1; }
Код:
E:\pwn(479) : error 001: expected token: "-identifier-", but found "state" E:\.pwn(480) : error 001: expected token: "-identifier-", but found "=" E:\.pwn(480) : warning 215: expression has no effect E:\.pwn(480) : error 001: expected token: ";", but found ")" E:\.pwn(480) : error 029: invalid expression, assumed zero E:\.pwn(480) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.