[Ajuda] Salvamento..
#3

Troque

pawn Код:
CMD:setadmin(playerid, params[])
{
    new String[100], levels;
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "Vocк precisa logar na RCON.");
    if(sscanf(params, "ud", giveplayerid, levels)) return SendClientMessage(playerid, 0xAD0000AA, "Use /setadmin [id] [level]");
    if (levels < 0 || levels > 4) return SendClientMessage(playerid, 0xFF0000FF, "Level invбlido. Use de 1 б 4 .");
    if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, 0xAD0000AA, "Este jogador nгo estб     online.");
    Player[giveplayerid][pAdmin] = levels;
    return 1;
}
Por:

pawn Код:
CMD:setadmin(playerid, params[])
{
    new String[100], pID, levels;
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "Vocк precisa logar na RCON.");
    if(sscanf(params, "ud", pID, levels)) return SendClientMessage(playerid, 0xAD0000AA, "Use /setadmin [id] [level]");
    if (levels < 0 || levels > 4) return SendClientMessage(playerid, 0xFF0000FF, "Level invбlido. Use de 1 б 4 .");
    if(!IsPlayerConnected(giveplayerid)) return SendClientMessage(playerid, 0xAD0000AA, "Este jogador nгo estб     online.");
    Player[pID][pAdmin] = levels;
    return 1;
}
Reply


Messages In This Thread
Salvamento.. - by SampMovies - 12.01.2015, 18:30
Re: Salvamento.. - by ZeZin - 12.01.2015, 18:44
Re: Salvamento.. - by s4kuL - 12.01.2015, 19:01
Re: Salvamento.. - by MultiKill - 12.01.2015, 19:02
Re: Salvamento.. - by DiegoLeo - 12.01.2015, 19:05
Re: Salvamento.. - by Bieeel_Cwb - 12.01.2015, 19:09
Re: Salvamento.. - by SampMovies - 12.01.2015, 19:12
Re: Salvamento.. - by DiegoLeo - 12.01.2015, 19:16
Re: Salvamento.. - by SampMovies - 12.01.2015, 19:27
Re: Salvamento.. - by DiegoLeo - 12.01.2015, 19:31

Forum Jump:


Users browsing this thread: 1 Guest(s)