SA-MP Forums Archive
[Ajuda] Warnings, avisos dialog - 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] Warnings, avisos dialog (/showthread.php?tid=426421)



Warnings, avisos dialog - LeonardoBCF - 29.03.2013

Ja tentei mais de mil vezes retirar esses avisos e nгo consegui por isso to pedindo uma ajudinha de vocкs

PHP код:
C:\Users\HOT WHEELS\Music\Desktop\coisas para sa-mp\GM Codado\BrasilCity Net do Luiz Duarte\GM Brasil City Net\Brasil City net\gamemodes\BCF.pwn(26347) : warning 217loose indentation
C
:\Users\HOT WHEELS\Music\Desktop\coisas para sa-mp\GM Codado\BrasilCity Net do Luiz Duarte\GM Brasil City Net\Brasil City net\gamemodes\BCF.pwn(26351) : warning 217loose indentation 
PHP код:
    if(dialogid == 10101){if(PlayerToPoint(2.0,playerid,963.7944,-933.7776,41.9256)){new Float:X;new Float:Y;new Float:Z;new Float:angle;if(GetPlayerMoney(playerid) < 100) return SendClientMessage(playerid,COLOR_GREY,"{FFFFFF}[{CD96E3}D.E.T.R.A.N{FFFFFF}]: Vocк nгo tem R$100 para mudar sua placa.");
        if(
strlen(inputtext) < || strlen(inputtext) > 8) return SendClientMessage(playerid0xAFAFAFAA"{FFFFFF}[{CD96E3}D.E.T.R.A.N{FFFFFF}]: Texto Invalido.");else{// linha 26347
        
format(stringsizeof(string), "{FFFFFF}[{CD96E3}D.E.T.R.A.N{FFFFFF}]: Vocк alterou o nome da placa do seu veiculo para \'%s\' e pagou R$100"inputtext);
        
SendClientMessage(playerid0x33CCFFAAstring);GetPlayerPos(playeridXYZ);
        
GetPlayerFacingAngle(playeridangle);GivePlayerMoney(playerid,-100);SetVehicleNumberPlate(GetPlayerVehicleID(playerid), inputtext);SetVehicleToRespawn(GetPlayerVehicleID(playerid));GetPlayerPos(playeridXYZ);
        
SetVehiclePos(GetPlayerVehicleID(playerid), XYZ);SetVehicleZAngle(GetPlayerVehicleID(playerid), angle);PutPlayerInVehicle(playeridGetPlayerVehicleID(playerid), 0);SetVehiclePos(GetPlayerVehicleID(playerid), XYZ+2);}}else{SendClientMessage(playeridCOLOR_WHITE"Vocк Nгo Estб no D.E.T.R.A.N !");return true;}}// linha 26351 



Re: Warnings, avisos dialog - Schocc - 29.03.2013

Topo do gm

pawn Код:
#pragma tabsize 0



Re: Warnings, avisos dialog - zSuYaNw - 29.03.2013

Neste tуpico tinha resposta, vocк tem que ler!


Respuesta: Warnings, avisos dialog - Pedro Pawno - 29.03.2013

Este erro ocorre por mб indentaзгo..

leia:

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