binding fix+nitro
#4

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(adminlevel[playerid] < 1) return 0;
else
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_BRIGHTRED, "You have to be in a vehicle to type 2.");
else
if ((newkeys & KEY_SUBMISSION)) /// This will add 10x NOS to the car and repair it if player is in a car.

   AddVehicleComponent(GetPlayerVehicleID(playerid), 1010);
  4086 = RepairVehicle(GetPlayerVehicleID(playerid));
	 SetVehicleHealth(GetPlayerVehicleID(playerid), 1000.0);

   return 1;
}
C:\Documents and Settings\Administrator\Desktop\gamemodes\lvdm.pwn( 4086) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Reply


Messages In This Thread
binding fix+nitro - by jamesbond007 - 02.12.2009, 09:36
Re: binding fix+nitro - by Cedimedi - 02.12.2009, 09:54
Re: binding fix+nitro - by dice7 - 02.12.2009, 10:10
Re: binding fix+nitro - by _Sami_ - 02.12.2009, 10:53
Re: binding fix+nitro - by dice7 - 02.12.2009, 11:11
Re: binding fix+nitro - by _Sami_ - 02.12.2009, 11:38
Re: binding fix+nitro - by Djiango - 02.12.2009, 12:10
Re: binding fix+nitro - by Cedimedi - 02.12.2009, 12:46
Re: binding fix+nitro - by _Sami_ - 02.12.2009, 19:54

Forum Jump:


Users browsing this thread: 4 Guest(s)