[Ajuda] Variavel
#1

Queria saber qual й minha variavel ?

Код:
 CMD:setadmin(playerid, params[])
{
    new id, level, string[256], string2[256], ganhou[MAX_PLAYER_NAME], deu[MAX_PLAYER_NAME];
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, 0xAD0000AA, "{00E5FF}Vocк nгo estб autorizado.");
    if(sscanf(params, "ud", id, level)) return SendClientMessage(playerid, 0xAD0000AA, "Use /daradmin [ID] [LEVEL]");
    if (level < 0 || level > 5) return SendClientMessage(playerid, 0xFF0000FF, "Level invбlido. Use de 1 б 5 .");
    if(!IsPlayerConnected(id)) return SendClientMessage(playerid, 0xAD0000AA, "Este jogador nгo estб online.");
    GetPlayerName(id, ganhou, sizeof(ganhou));
    GetPlayerName(playerid, deu, sizeof(deu));
    format(string, sizeof(string), "Vocк deu admin level %s para o %s", GetLevelAdmin(level), ganhou);
    SendClientMessage(playerid, 0x00F6F6AA, string);
    format(string2, sizeof(string2), "O admin %s deu admin level %s para vocк.", deu , GetLevelAdmin(level));
    SendClientMessage(id, Verde, string2);
    pAdmin[id][Level] =  level;
    return 1;
}
Reply


Messages In This Thread
Variavel - by lekinho911 - 14.09.2013, 01:44
Re: Variavel - by focaximubh - 14.09.2013, 01:46
Re: Variavel - by PT - 14.09.2013, 01:47
Re: Variavel - by Coe1 - 14.09.2013, 01:48
Re: Variavel - by lekinho911 - 14.09.2013, 01:52
Re: Variavel - by Coe1 - 14.09.2013, 01:57

Forum Jump:


Users browsing this thread: 1 Guest(s)