[HELP]Error code
#1

There's one error that is bugging it and i can't finish it
Here's the code:
Код:
	public OnPlayerExitVehicle(playerid, as[0]);
	{
  if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER, as[0])
	{
			if(Attackmod[playerid] == 1)
		{
			RemoveVehicleComponent(GetPlayerVehicleID(playerid),1010); // Removes Nitro
 			RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1087); // Removes Hydraulics
 			RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1001); // Removes Spoiler
  		    RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1074); // Removes Mega Wheels
   		    RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1007); // Removes RSS
   		    RemoveVehicleComponent(GetPlayerVehicleID(playerid), 1017); // Removes LSS
			SendClientMessage(playerid,COLOR_LIGHTRED,"Transformation Offline");
			Attackmod[playerid] = 0;
		}
			return 1;
  }
	if(Tcspawned[playerid] = as)
	{
  		tc[0] = GetPlayerVehicleID(playerid);
  		Tcspawned[playerid] = 0;
   		SendClientMessage(playerid,red,"Tc Removed");
     	DestroyVehicle(tc[0]);
	}
	return 1;
	 }
}
And it gives me this Error when i compile it
Error:
Код:
C:\Users\zzz\Desktop\z\filterscripts\w.pwn(166) : error 029: invalid expression, assumed zero
C:\Users\zzz\Desktop\z\filterscripts\w.pwn(183) : warning 211: possibly unintended assignment
C:\Users\zzz\Desktop\z\filterscripts\w.pwn(369) : warning 203: symbol is never used: "strtok"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
And i can't fix it i need some help
Reply


Messages In This Thread
[HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:22
Re: [HELP]Error code - by Flashy - 08.06.2010, 15:26
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:27
Re: [HELP]Error code - by Flashy - 08.06.2010, 15:30
Re: [HELP]Error code - by RyDeR` - 08.06.2010, 15:32
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:33
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 15:34
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 16:11
Re: [HELP]Error code - by Hiddos - 08.06.2010, 16:15
Re: [HELP]Error code - by [MY]Bryan_3295 - 08.06.2010, 16:18

Forum Jump:


Users browsing this thread: 2 Guest(s)