Problem with my code
#8

Quote:
Originally Posted by Kar
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{

if(IsPlayerInAnyVehicle(playerid))
{

if(newkeys & KEY_FIRE && GetPlayerVehicleID(playerid) != 522)
{
  AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);

}
else if(newkeys & KEY_FIRE && GetPlayerVehicleID(playerid) == 522)
{
  RemoveVehicleComponent(522,1010);
}
}
return 1;
}
why was there an exact starting bracket in there lol
Lol idk.

My Bad,

Thanks Kar..

Off topic: You got Gangsta postion nice!
Reply


Messages In This Thread
Problem with my code - by Jay. - 23.06.2010, 15:25
Re: Problem with my code - by Faith - 23.06.2010, 15:28
Re: Problem with my code - by Jay. - 23.06.2010, 15:29
Re: Problem with my code - by Jay. - 23.06.2010, 15:35
Re: Problem with my code - by Kar - 23.06.2010, 15:38
Re: Problem with my code - by Jay. - 23.06.2010, 15:39
Re: Problem with my code - by Kar - 23.06.2010, 15:44
Re: Problem with my code - by Jay. - 23.06.2010, 15:45
Re: Problem with my code - by Jay. - 23.06.2010, 15:50
Re: Problem with my code - by Kar - 23.06.2010, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)