[Ajuda] Cores
#1

Ola Gostaria De Fazer Tipo Assim Oia Sу


[BNP AVISO] O Spawn Foi Marcado De Vermelho Em Seu Mapa


Ai Eu Fiz Assim !
pawn Code:
SendClientMessage(playerid, COR_BRANCO, "{FFFFFF}[{1C1C1C}B{00FF00}N{1C1C1C}P {00FF00}A{1C1C1C}V{00FF00}I{1C1C1C}S{00FF00}O{FFFFFF}] O Spawn Foi Marcado De {FF0000}Vermelho {FFFFFF}Em Seu Mapa");
Como o Codigo Fico
pawn Code:
if(dialogid == DIALOG_GPS+1)
    {
        if(response == 0)
        {
            return true;
        }
        if(response >= 1)
        {
            if(listitem == 0)
            {
                SetPlayerCheckpoint(playerid, 1481.1622,-1744.3596,13.5469, 8.0);//pref
                SendClientMessage(playerid, COR_BRANCO, "{FFFFFF}[{1C1C1C}B{00FF00}N{1C1C1C}P {00FF00}A{1C1C1C}V{00FF00}I{1C1C1C}S{00FF00}O{FFFFFF}] O Spawn Foi Marcado De {FF0000}Vermelho {FFFFFF}Em Seu Mapa");
                return true;
            }
    return 1;
}

e deu isso
pawn Code:
C:\Users\Allisson\Music\[GameMode]\gamemodes\GM.pwn(538) : warning 217: loose indentation
C:\Users\Allisson\Music\[GameMode]\gamemodes\GM.pwn(540) : warning 217: loose indentation
C:\Users\Allisson\Music\[GameMode]\gamemodes\GM.pwn(540) : error 029: invalid expression, assumed zero
C:\Users\Allisson\Music\[GameMode]\gamemodes\GM.pwn(540) : error 004: function "OnPlayerClickPlayer" is not implemented
C:\Users\Allisson\Music\[GameMode]\gamemodes\GM.pwn(544) : error 030: compound statement not closed at the end of file (started at line 526)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


3 Errors.
pawn Code:
return 1;
pawn Code:
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
pawn Code:
Nao Tem a linha 544

Podem Me Ajudar ?
Reply
#2

WTF, EDITADO ;
Reply
#3

? Nao Intendi
Reply
#4

Falta de chaves

PHP Code:
if(dialogid == DIALOG_GPS+1)
{
    if(
response == 0)
    {
        return 
true;
    }
    if(
response >= 1)
    {
        if(
listitem == 0)
        {
              
SetPlayerCheckpoint(playerid1481.1622,-1744.3596,13.54698.0);//pref
             
SendClientMessage(playeridCOR_BRANCO"{FFFFFF}[{1C1C1C}B{00FF00}N{1C1C1C}P {00FF00}A{1C1C1C}V{00FF00}I{1C1C1C}S{00FF00}O{FFFFFF}] O Spawn Foi Marcado De {FF0000}Vermelho {FFFFFF}Em Seu Mapa");
               return 
true;
        }
    }
    return 
1;

Reply
#5

olha a linha 526 amigo '-' provavelmente vocк deixou de fechar algum bracket depois do return
Reply
#6

vlw man ajudo muito


@Closed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)