[Ajuda] Cmd
#1

eu fiz esse comando ai porem quando eu digito /setadmin 0 3 aparece [ERRO]: 1 б 3
agr eu to nao to intendendo isso sгo os simbolos que estгo errados ?

PHP код:
CMD:setadmin(playeridparams[])
{
    new 
levelidstring[128], Nome[24];
    
GetPlayerName(playeridNomesizeof(Nome));
    if(
PlayerInfo[playerid][pAdmin] < && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1"[ERRO]: Vocк Nгo Tem Permissгo Para Usar Esse Comando Apenas Admin 3+");
    if(
sscanf(params"ud",id,level)) return SendClientMessage(playerid, -1"[USO]: /setadmin [ID] [LEVEL]");
    if(!
IsPlayerConnected(id)) return SendClientMessage(playerid, -1"[ERRO]: Jogador Nгo Conectado");
    if(
level || level 3) return SendClientMessage(playerid, -1"[ERRO]: 1 б 3");
    
format(stringsizeof(string), "o Adminstrador %s Lhe Deu Admin Level %d"Nomelevel);
    
SendClientMessage(id, -1string);
    
SendClientMessage(playerid, -1"Adminstrador Setado!");
    
PlayerInfo[id][pAdmin] = level;
    return 
1;

Reply


Messages In This Thread
Cmd - by Nice-.- - 31.10.2012, 11:07
Re: Cmd - by Q.I - 31.10.2012, 11:55
Re: Cmd - by Nice-.- - 31.10.2012, 14:33
Re: Cmd - by MatheusAlcapone - 31.10.2012, 14:35
Re: Cmd - by Q.I - 31.10.2012, 14:40
Re: Cmd - by Nice-.- - 31.10.2012, 14:57

Forum Jump:


Users browsing this thread: 2 Guest(s)