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
#2

sorry, my bad...problem solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)