[Ajuda][Ajuda] public OnDialogResponse
#8

Quote:
Originally Posted by [Red]Maninho
Посмотреть сообщение
Apague Essa Linha Para Ver Oque Da
Vocк й louco? Apagar uma linha por causa de "Loose Indentation"?

Хo, й sу alinhar ela com o resto do cуdigo, nгo tem mistйrio cara.

pawn Код:
if(dialogid == 10101)
    {
        if(response)
        {
            new Float:X, Float:Y, Float:Z, Float:angle;
            if(strlen(inputtext) < 1 || strlen(inputtext) > 8) return SendClientMessage(playerid, 0xAFAFAFAA, "Texto Invalido.");
            format(string, sizeof(string), "Vocк mudou o texto de sua placa para '%s'.", inputtext);
            SendClientMessage(playerid, 0x33CCFFAA, string);
            GetPlayerPos(playerid, X, Y, Z);
            GetPlayerFacingAngle(playerid, angle);
            SetVehicleNumberPlate(GetPlayerVehicleID(playerid), inputtext);
            SetVehicleToRespawn(GetPlayerVehicleID(playerid));
            GetPlayerPos(playerid, X, Y, Z);
            SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z);
            SetVehicleZAngle(GetPlayerVehicleID(playerid), angle);
            PutPlayerInVehicle(playerid, GetPlayerVehicleID(playerid), 0);
            SetVehiclePos(GetPlayerVehicleID(playerid), X, Y, Z+2);
        }
        return 1;
    }
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)