[Ajuda] Problema Com Profs
#1

Eai galera eu to com um problema aqui,que quando eu seto a "profissao" no meu caso personagem o server desliga sozinho, e o comando q eu fiz pra "profissao" mesmo sem eu ser ele usa o comando normalmente =S se poderem me ajudar aonde estб o erro agradeзo
pawn Код:
CMD:dartobi(playerid, params[])
{
    new targetid;
    if(!IsPlayerAdmin(playerid))    return SendClientMessage(playerid, VERMELHO, "Logue-se na Rcon para usar este comando.");
    if(sscanf(params, "u" , targetid))         return SendClientMessage(targetid, -1, "Use: /dartobi [id]");
    if(Profissao[targetid] == 0)
    {
        SendClientMessage(targetid, VERMELHO, "O Adm Rcon {1B95E0}%s{00C2EC} setou Tobi para Vocк");
        SetPlayerSkin(targetid, 117);
    }
    return 1;
}

CMD:materializar(playerid, params[])
{
    if(Profissao[playerid] == 0)
    {
        SendClientMessage(playerid, AZUL, "Vocк estб materializado nada ira acerta-lo");
        SetPlayerHealth(playerid, 99999);
        TogglePlayerControllable(playerid, false);
    }
    else
    {
        SendClientMessage(playerid, VERMELHO, "Vocк nгo й Uchiha Tobi!");
    }
    return 1;
}

CMD:dmaterializar(playerid, params[])
{
    if(Profissao[playerid] == 0)
    {
        SendClientMessage(playerid, AZUL, "Vocк se desmaterializou");
        SetPlayerHealth(playerid, 100);
        TogglePlayerControllable(playerid, true);
    }
    else
    {
        SendClientMessage(playerid, VERMELHO, "Vocк nгo й Uchiha Tobi");
    }
    return 1;
}
Reply
#2

Quais desse Cmd que voce fais q desliga o Servidor ?
Reply
#3

pawn Код:
CMD:dartobi ( playerid, params [ ] )
{
    new targetid ;
   
    if ( !IsPlayerAdmin ( playerid ) )
    {
        SendClientMessage ( playerid, VERMELHO, "[ x ] Logue-se na Rcon para usar este comando.");
    }
    if ( sscanf ( params, "u" , targetid ) )
    {
        SendClientMessage ( playerid, -1, "[ x ] Uso Correto: /dartobi [ ID ]" ) ;
    }
   
    SendClientMessage ( targetid, VERMELHO, "O Adm Rcon {1B95E0}%s{00C2EC} setou Tobi para Vocк");
    SetPlayerSkin ( targetid, 117 ) ;
    return 1;
}
troque o CMD ^^

@Desculpa Double post!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)