[HELP]Error code
#3

Btw sorry.... i made a lil change in it before i posted it sorry...

Heres: the new one

Код:
	public OnPlayerExitVehicle(playerid, tc[0]);
	{
  if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER, tc[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] = 1)
	{
  		tc[0] = GetPlayerVehicleID(playerid);
  		Tcspawned[playerid] = 0;
   		SendClientMessage(playerid,red,"Tc Removed");
     	DestroyVehicle(tc[0]);
	}
	return 1;
	 }
}
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: 1 Guest(s)