[FilterScript] Sistema de Vip by: didimk157
#9

Esse seu cуdigo nгo ta bom, mais achei um dos erros.

Код:
CMD:tirarvip(playerid, params[])
{
    new String[85] , ID;
    if(!IsPlayerAdmin(playerid))return SCM(playerid, COR_ERRO, "[ERRO]: Vocк nгo estб logado na RCON");
    if(sscanf(params, "u", ID)) return SendClientMessage(playerid, COR_ERRO, "Use /TirarVip [ID]");
    if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COR_ERRO, "[ERRO] ID invalido");
    if(Player[playerid][Vip] == 0) return SendClientMessage(playerid, COR_ERRO, "Este player nгo й um mebro VIP.");
    format(String, sizeof(String), "O Admin %s tirou o vip de %s",Nome(playerid), Nome(playerid));
    SendClientMessageToAll(COR_CMD, String);
    Player[playerid][Vip] = 0;
    return 1;
}
O correto seria: Player[ID][Vip] = 0;
Reply


Messages In This Thread
Sistema de Vip by: didimk157/Atualizado 16/04/2017 - by didimk157 - 21.01.2017, 09:04
Re: Sistema de Vip by: didimk157 - by TheBob - 21.01.2017, 12:21
Re: Sistema de Vip by: didimk157 - by PT - 21.01.2017, 12:22
Nгo vai ajudar os novatos! kkk - by RazorGuigo - 21.01.2017, 12:33
Re: Nгo vai ajudar os novatos! kkk - by didimk157 - 21.01.2017, 12:44
Re: Sistema de Vip by: didimk157 - by PesadaO - 22.01.2017, 20:56
Re: Sistema de Vip by: didimk157 - by didimk157 - 22.01.2017, 22:11
Re: Sistema de Vip by: didimk157 - by didimk157 - 16.04.2017, 14:37
Re: Sistema de Vip by: didimk157 - by IlanZ - 23.04.2017, 14:13
Re: Sistema de Vip by: didimk157 - by didimk157 - 23.04.2017, 15:55

Forum Jump:


Users browsing this thread: 1 Guest(s)