ajuda UPA DE LEVEL
#6

Quote:
Originally Posted by [Full]Garfield[XDB]
Посмотреть сообщение
pawn Код:
if(strcmp(cmdtext,"/comprarrespeito", true) == 0)
{
   if(respeito[playerid] == 12) return SendClientMessage(playerid,COR,"Vocк nгo tem respeito sufciente para realizar esta aзгo.");
   return 1;
}
fail, pelo que vi aн, se o respeito for igual a 12 o comando nao vai funcionar, mas vai funcionar caso o respeito for maior ou menor (mais ou menos, lol)


pawn Код:
if(strcmp(cmdtext,"/comprarnivel", true) == 0)
{
    if(respeito[playerid] < 12)
    {
        SendClientMessage(playerid, COR, "Vocк nгo tem respeito suficiente para realizar esta aзгo.");
    }
    else
    {
        //cod pra comprar nivel
    }
}
pawn Код:
if(respeito[playerid] == 12)
{
    SendClientMessage(playerid, COR, "Voce alcancou 12/12 de respeito! Digite /comprarnivel para comprar nivel
}
se quiser aquele texto grande aparecendo na tela do player:

pawn Код:
if(respeito[playerid] == 12)
{
    GameTextForPlayer(playerid, "Voce alcancou 12/12 de respeito, digite /comprarnivel para comprar nivel", 5000, 0);
}
acho q funciona
Reply


Messages In This Thread
ajuda UPA DE LEVEL - by Gabriel_Fernandes - 14.09.2010, 12:28
Respuesta: ajuda UPA DE LEVEL - by ipsBruno - 14.09.2010, 16:45
Re: ajuda UPA DE LEVEL - by zSuYaNw - 14.09.2010, 16:49
Respuesta: Re: ajuda UPA DE LEVEL - by ipsBruno - 14.09.2010, 17:00
Re: ajuda UPA DE LEVEL - by zSuYaNw - 14.09.2010, 17:05
Re: ajuda UPA DE LEVEL - by Gustavob - 14.09.2010, 17:07

Forum Jump:


Users browsing this thread: 1 Guest(s)