SA-MP Forums Archive
[AJUDA] Warn - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Warn (/showthread.php?tid=305122)



[AJUDA] Warn - Master_Pawn - 21.12.2011

Warn: Loose Indent.......

LINHA do Loose essa

Код:
if(gEngine[playerid] == 1) { return 1; }

            PutPlayerInVehicle(playerid, newcar, 0);
			GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "* %s gira a chave e tenta ligar o seu veнculo.", sendername);
			ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
			if(PlayerInfo[playerid][pAdmin] < 1337 && PlayerInfo[playerid][pAdminDuty] == 1)
			{
			    SetTimerEx("StartingTheVehicle",1,0,"i",playerid);
			}
            else
			{
				SetTimerEx("StartingTheVehicle",3500,0,"i",playerid);
			}
			GameTextForPlayer(playerid, "~w~Ligando Motor Do Carro...",3500,3);
			gEngine[playerid] = 1;
            return 1;
			}
			}
		}



Re: [AJUDA] Warn - isli27 - 21.12.2011

Sei lб, tenta assim kk


pawn Код:
if(gEngine[playerid] == 1)
    {

            PutPlayerInVehicle(playerid, newcar, 0);
            GetPlayerName(playerid, sendername, sizeof(sendername));
            format(string, sizeof(string), "* %s gira a chave e tenta ligar o seu veнculo.", sendername);
            ProxDetector(30.0, playerid, string, COLOR_CHAT1,COLOR_CHAT2,COLOR_CHAT3,COLOR_CHAT4,COLOR_CHAT5);
            if(PlayerInfo[playerid][pAdmin] < 1337 && PlayerInfo[playerid][pAdminDuty] == 1)
            {
                SetTimerEx("StartingTheVehicle",1,0,"i",playerid);
            }
            else
            {
                SetTimerEx("StartingTheVehicle",3500,0,"i",playerid);
            }
            GameTextForPlayer(playerid, "~w~Ligando Motor Do Carro...",3500,3);
            gEngine[playerid] = 1;
            return 1;
    }



Re: [AJUDA] Warn - Lуs - 21.12.2011

Aprenda a identar seu cуdigos --'

TidyPawn

[TUT] Tirando os Loose Identation


Re: [AJUDA] Warn - [O.z]Caroline - 21.12.2011

https://sampforum.blast.hk/showthread.php?tid=260576