[AJUDA] Orgs
#3

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
        new PlayerB;
        new string[128];
        new cmd[128];
        new tmp[128];
        if(strcmp(cmd, "/convidar", true) == 0)
        {
            tmp = strtok(cmdtext,idx)
            if(!strlen(tmp)) return SendClientMessage(playerB, BRANCO2, "Uso correto: /convidar [id]");
            PlayerB = strval(tmp);
            if(!IsPlayerConnected(PlayerB)) return SendClientMessage(playerid, BRANCO2, "Este jogador nгo estб conectado");
            if(BrunoInfo[playerid][PM] >= 6)
            {
                BrunoInfo[playerid][PM] = 1;
                SendClientMessage(playerid, BRANCO2, "Vocк entrou para a Polнcia Militar");
                SetPlayerColor(playerid, COR_PM);
                return 1;
            }
            return 1;
        }
@EDIT tenta assim, e fala qual й o erro. '-'
Reply


Messages In This Thread
[AJUDA] Orgs - by nefestor - 27.09.2011, 20:46
Re: [AJUDA]ORGS - by Josma_cmd - 27.09.2011, 21:00
Re: [AJUDA]ORGS - by WLSF - 27.09.2011, 21:05
Re: [AJUDA]ORGS - by nefestor - 27.09.2011, 21:12
Re: [AJUDA]ORGS - by WLSF - 27.09.2011, 21:16
Re: [AJUDA]ORGS - by nefestor - 27.09.2011, 21:16
Re: [AJUDA]ORGS - by nefestor - 27.09.2011, 21:20
Re: [AJUDA]ORGS - by WLSF - 27.09.2011, 21:23
Re: [AJUDA]ORGS - by nefestor - 27.09.2011, 21:26
Re: [AJUDA]ORGS - by WLSF - 27.09.2011, 21:29

Forum Jump:


Users browsing this thread: 2 Guest(s)