[Ajuda] uns 26 Errors.
#4

Quote:
Originally Posted by Bruno13
Посмотреть сообщение
Encontrei!
Код:
if(strcmp(cmdtext,"/kit5",true)==0){ 
{ 
    if(GetPlayerMoney(playerid) >= 8000) { 
        GivePlayerMoney(playerid, -8000); 
        new var0[265]; 
        new var1[30]; 
        GetPlayerName(playerid, var1, 30); 
        format(var0, 265, "%s Comprou Um Kit De Armas 5! Comando: {FFFF00}( /kit5 )", var1); 
        SendClientMessageToAll(Roxo_Escuro, var0); 
        ResetPlayerWeapons(playerid); 
        GivePlayerWeapon(playerid, 34, 99999); 
        GivePlayerWeapon(playerid, 24, 99999); 
        GivePlayerWeapon(playerid, 27, 99999); 
        GivePlayerWeapon(playerid, 32, 99999); 
        GivePlayerWeapon(playerid, 31, 99999); 
        GivePlayerWeapon(playerid, 16, 99999); 
        PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); 
    } 
    else { 
        SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente"); 
        PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0); 
    } 
    return 1; 
}
Troque por esse (ou tire a chave que esta la):
Код:
if(strcmp(cmdtext,"/kit5",true)==0)
{ 
    if(GetPlayerMoney(playerid) >= 8000) { 
        GivePlayerMoney(playerid, -8000); 
        new var0[265]; 
        new var1[30]; 
        GetPlayerName(playerid, var1, 30); 
        format(var0, 265, "%s Comprou Um Kit De Armas 5! Comando: {FFFF00}( /kit5 )", var1); 
        SendClientMessageToAll(Roxo_Escuro, var0); 
        ResetPlayerWeapons(playerid); 
        GivePlayerWeapon(playerid, 34, 99999); 
        GivePlayerWeapon(playerid, 24, 99999); 
        GivePlayerWeapon(playerid, 27, 99999); 
        GivePlayerWeapon(playerid, 32, 99999); 
        GivePlayerWeapon(playerid, 31, 99999); 
        GivePlayerWeapon(playerid, 16, 99999); 
        PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); 
    } 
    else { 
        SendClientMessage(playerid, Verde_Floresta, "[INFO]: {FF0000}Vocк nгo tem dinheiro suficiente"); 
        PlayerPlaySound(playerid, 1053, 0.0, 0.0, 0.0); 
    } 
    return 1; 
}
+rep?
haha porra vlw ganhou +rep
Reply


Messages In This Thread
uns 26 Errors. - by MatheusMendes - 24.05.2013, 01:52
Re: uns 26 Errors. - by Gii - 24.05.2013, 01:56
Re: uns 26 Errors. - by Bruno13 - 24.05.2013, 01:59
Re: uns 26 Errors. - by MatheusMendes - 24.05.2013, 02:18
Re: uns 26 Errors. - by Bruno13 - 24.05.2013, 02:31

Forum Jump:


Users browsing this thread: 1 Guest(s)