Question

Здравствуйте,варнинг на кнопке что не так ?, вот код: 
 

Спойлер

Здравствуйте варинг помогите (25937) : loose indentation
if(oldkeys == SLOW_KEY_ID && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && CarInfo[GetPlayerVehicleID(playerid)][Launch] == 1)

 

 

Share this post


Link to post

3 answers to this question

  • 0

Табуляция отсутствуем. Дай мне полностью код 

Share this post


Link to post
  • 0
Только что, PRоFeSSoR сказал:

Табуляция отсутствуем. Дай мне полностью код 

Спойлер

	}
	if(oldkeys == SLOW_KEY_ID && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && CarInfo[GetPlayerVehicleID(playerid)][Launch] == 1)
	{
	    if(VehicleInfo[GetPlayerVehicleID(playerid)][vEngine])
	    {
		    if(launchdone[playerid] == 0) return 1;
		    KillTimer(launchtimer[playerid]);
		    KillTimer(launchtimerback[playerid]);
		    if(LauncherSize[playerid] >= 50.000000) LauncherSize[playerid] = 50.000000;
		    launchtimerback[playerid] = SetTimerEx("LaunchBack", 1, 1, "d", playerid);
	        if(skorostb[playerid] == 1) PlayerPlaySound(playerid, 28000, 0.0, 0.0, 0.0), 			 SetVehicleSpeed(GetPlayerVehicleID(playerid),GetPlayerVehicleSpeedZ(playerid)+LauncherSize2[playerid]/4);
	        skorostb[playerid] = 0;
		}

 

 

Share this post


Link to post
  • 0
	}
	if(oldkeys == SLOW_KEY_ID && GetPlayerState(playerid) == PLAYER_STATE_DRIVER && CarInfo[GetPlayerVehicleID(playerid)][Launch] == 1)
	{
	            if(VehicleInfo[GetPlayerVehicleID(playerid)][vEngine])
	    {
		    if(launchdone[playerid] == 0) return 1;
		    KillTimer(launchtimer[playerid]);
		    KillTimer(launchtimerback[playerid]);
		    if(LauncherSize[playerid] >= 50.000000) LauncherSize[playerid] = 50.000000;
		    launchtimerback[playerid] = SetTimerEx("LaunchBack", 1, 1, "d", playerid);
	        if(skorostb[playerid] == 1) PlayerPlaySound(playerid, 28000, 0.0, 0.0, 0.0), 			 SetVehicleSpeed(GetPlayerVehicleID(playerid),GetPlayerVehicleSpeedZ(playerid)+LauncherSize2[playerid]/4);
	        skorostb[playerid] = 0;
		}

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • NirmanaYT
      By NirmanaYT
      Здравствуйте! Хотел бы попросить помощи! Как добавить текст допустим ,
      Чтоб ну примерно каждые 30 минут в чате отображался определённый текст который я задам!
       
      Всем игрокам