[Ajuda] Ajuda ?
#3

Quote:
Originally Posted by ShutDown_
Посмотреть сообщение
Poderia mandar o resto do codigo ?
Sim Mais Eu Arrumei so q agr fica assim
Tipo em Vez De Mandar 1 Mensagem
Manda umas 30 ;(
Code
pawn Код:
CMD:armatodos(playerid, params[])
{
    if(PlayerInfo[playerid][Admin] >= 1 && !IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "[ERRO]:Vocк Nгo Tem Permissгo Para Usar Esse Comando Apenas Admin 1+ !.");
    new weaponid,string[150],muni,Name[24];
    GetPlayerName(playerid, Name, sizeof(Name));
    if(sscanf(params,"dd",weaponid,muni )) return SendClientMessage(playerid, -1,"[USO]: /armatodos [ID Arma] [Muniзгo]");
    if(1 > weaponid > 46) return SendClientMessage(playerid, -1,"[ERRO]: O id das armas sгo somente de 1 a 46");
    if(weaponid == 38||weaponid == 35||weaponid == 36||weaponid == 44||weaponid == 45) return SendClientMessage(playerid,-1,""VERMELHO"[ERRO]:"VERDE" Essa Arma Nгo й Adequada Para Players!");
    for(new i=0;i<MAX_PLAYERS;i++)
    {
    GivePlayerWeapon(i,weaponid,muni);
    format(string, sizeof(string), "[ADMIN]: %s Deu Arma A Todos Os Players, Arma ID:%d Muniзгo:%d", Name, weaponid, muni);
    SendClientMessageToAll(-1, string);
    }
    return 1;
}
Reply


Messages In This Thread
Ajuda ? - by Owtsiixx_Twd - 02.10.2012, 22:09
Re: Ajuda ? - by ShutDown_ - 02.10.2012, 22:22
Re: Ajuda ? - by Owtsiixx_Twd - 02.10.2012, 22:25
Re: Ajuda ? - by @Riichard - 02.10.2012, 22:28
Re: Ajuda ? - by Owtsiixx_Twd - 02.10.2012, 22:44
Re: Ajuda ? - by Victor' - 02.10.2012, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)