Need help...again.
#1

Hello, its me again

now my problem is:
Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid = GetPlayerVehicleID(playerid);
	if(newstate == PLAYER_STATE_DRIVER && GetVehicleModel(vehicleid) == 596)
	{
		if(gTeam[playerid] != ZombieTeam)
		{
			RemovePlayerFromVehicle(playerid);
		    SendClientMessage(playerid, COLOR_RED, "Brains....No Brains heeere....");
		}
		else if(gTeam[playerid] == HumanTeam) SendClientMessage(playerid, COLOR_GREEN, "This is one of the last cars, which still work.You can avoid zombies with this vehicle.");
		}
	}
errors:

Код:
C:\Users\Random\Desktop\zombiepanic!.pwn(554) : error 076: syntax error in the expression, or invalid function call
C:\Users\Random\Desktop\zombiepanic!.pwn(559) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Need help...again. - by Randomai - 20.02.2011, 09:33
Re: Need help...again. - by Randomai - 20.02.2011, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)