Lock by Dissconect
#3

Код:
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;
}
errors :

Код:
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.
Reply


Messages In This Thread
Lock by Dissconect - by SanAndreasVille - 26.01.2011, 14:22
Re: Lock by Dissconect - by Mauzen - 26.01.2011, 17:07
Re: Lock by Dissconect - by SanAndreasVille - 26.01.2011, 17:58
Re: Lock by Dissconect - by Mauzen - 26.01.2011, 20:33
Re: Lock by Dissconect - by SanAndreasVille - 26.01.2011, 22:00

Forum Jump:


Users browsing this thread: 1 Guest(s)