[Tutorial] Pawno Funзхes Basicas
#4

pawn Код:
// Isso  ta errado:
    public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmd, "/pegarcolete",true) == 0)  
{
    SetPlayerArmour(playerid, 100);
    SendClientMessage(playerid,0x1229FAFF,"Vocк Pegou Um Colete A Prova De Balas");
}
}
pawn Код:
// certo:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/pegarcolete",true) == 0)  
    {
       SetPlayerArmour(playerid, 100);
       SendClientMessage(playerid,0x1229FAFF,"Vocк Pegou Um Colete A Prova De Balas");
       return true;
    }
    return false;
}
Os Comandos estгo errados.
Reply


Messages In This Thread
Pawno Funзхes Basicas - by Luiz98 - 01.08.2011, 00:19
Re: Pawno Funзхes Basicas - by Luiz98 - 01.08.2011, 00:25
Re: Pawno Funзхes Basicas - by Josma_cmd - 01.08.2011, 00:25
Re: Pawno Funзхes Basicas - by JonathanFeitosa - 01.08.2011, 00:28
Re: Pawno Funзхes Basicas - by Luiz98 - 01.08.2011, 00:33
Re: Pawno Funзхes Basicas - by RockFire - 01.08.2011, 00:44
Re: Pawno Funзхes Basicas - by Josma_cmd - 01.08.2011, 01:08
Re: Pawno Funзхes Basicas - by BrunoBSF - 01.08.2011, 01:28
Re: Pawno Funзхes Basicas - by Y_Baby - 07.08.2011, 15:50

Forum Jump:


Users browsing this thread: 4 Guest(s)