[Ajuda] Sobre os sinais (<=/==/=/=>)
#3

Ve quando coloco isso.

Comando:
pawn Код:
CMD:tapa(playerid, params[])
{
    new name[MAX_PLAYER_NAME], ID, string[120];
    if(PlayerInfo[playerid][pAdmin] => 1) return SendClientMessage(playerid, Cor_Erro, "ERRO: Vocк nгo й um admin para usar esse comando ou nгo tem level.");
    if(sscanf(params, "u", ID)) return SendClientMessage(playerid, Cor_Amarelo, "[EG]: Comando Correto: /tapa [id]");
    if(!IsPlayerConnected(ID)) return 1;
    new Float:c[3];
    GetPlayerPos(ID,c[0],c[1],c[2]);
    SetPlayerPos(ID,c[0],c[1],c[2]+15);
    GetPlayerName(ID, name, sizeof(name));
    format(string, sizeof(string), "[EG]: O Adiministrador %s deu um tapa em %s.", pegarnome(playerid), pegarnome(ID));
    SCMTA(Cor_Roxo, string);
    return 1;
}
Erros:
pawn Код:
C:\Users\Gabriel\Desktop\samp03esvr_win32\gamemodes\EG.pwn(376) : warning 211: possibly unintended assignment
C:\Users\Gabriel\Desktop\samp03esvr_win32\gamemodes\EG.pwn(376) : error 029: invalid expression, assumed zero
C:\Users\Gabriel\Desktop\samp03esvr_win32\gamemodes\EG.pwn(376) : warning 215: expression has no effect
C:\Users\Gabriel\Desktop\samp03esvr_win32\gamemodes\EG.pwn(376) : error 001: expected token: ";", but found ")"
C:\Users\Gabriel\Desktop\samp03esvr_win32\gamemodes\EG.pwn(376) : error 029: invalid expression, assumed zero
C:\Users\Gabriel\Desktop\samp03esvr_win32\gamemodes\EG.pwn(376) : fatal error 107: too many error messages on one line
Linha (376):
pawn Код:
if(PlayerInfo[playerid][pAdmin] => 1) return SendClientMessage(playerid, Cor_Erro, "ERRO: Vocк nгo й um admin para usar esse comando ou nгo tem level.");
Num sei porque da isso.
Reply


Messages In This Thread
Sobre os sinais (<=/==/=/=>) - by Gabriel Santana - 27.08.2012, 16:17
Re: Sobre os sinais (<=/==/=/=>) - by caoraivoso3 - 27.08.2012, 16:21
Re: Sobre os sinais (<=/==/=/=>) - by Gabriel Santana - 27.08.2012, 16:24
Re: Sobre os sinais (<=/==/=/=>) - by Douglas_prt - 27.08.2012, 16:25
Re: Sobre os sinais (<=/==/=/=>) - by Gabriel Santana - 27.08.2012, 16:27
Re: Sobre os sinais (<=/==/=/=>) - by Douglas_prt - 27.08.2012, 16:29
Re: Sobre os sinais (<=/==/=/=>) - by Gabriel Santana - 27.08.2012, 16:33
Re: Sobre os sinais (<=/==/=/=>) - by Douglas_prt - 27.08.2012, 16:34
Re: Sobre os sinais (<=/==/=/=>) - by Adonay - 27.08.2012, 16:50
Re: Sobre os sinais (<=/==/=/=>) - by Ricop522 - 28.08.2012, 13:12

Forum Jump:


Users browsing this thread: 1 Guest(s)