[AJUDA] /entrarorg
#1

bom fiz um comando aqui para sуcio que seria /entrarorg

pawn Код:
if(strcmp(cmd,"/entrarorg",true)==0) // NOVO ENTRAR ORG
    {
        if(IsPlayerConnected(playerid))
        {
            new x_EntrarOrg[32];
            x_EntrarOrg = strtok(cmdtext, idx);
            if(!strlen(x_EntrarOrg)) {
                SendClientMessage(playerid, COLOR_WHITE, "USE: /entrarorg [id]");
                SendClientMessage(playerid, COLOR_GREY, "Nгo sabe o ID das organizaзхes? /np");
                    }
            if(strcmp(x_EntrarOrg,"1",true) == 0)
            {
                    PlayerInfo[playerid][pMembro] = 1;
                    PlayerInfo[playerid][pCargo] = 4;
                    SetPlayerSkin(playerid,282);
                    PlayerInfo[playerid][pSkin] = 282;
                    SetPlayerSpawn(playerid);
                    ResetPlayerWeaponsEx(playerid);
                    SetPlayerColor(playerid, COR_PM);
                    format(string, sizeof(string), "Sуcio %s entrou para a organizaзгo: 1", sendername);
                    SendClientMessageToAll(COLOR_LIGHTBLUE, string);
            }
Queria que o comando seria pra socio e pra quando fosse usar o comando tinha que estar de civil, e sem nivel de procura so que nгo tenho ideia de como colocar isso no code '-' . otra coisa o sendername nгo ta funfando

Ajuda ? +REP

ahh.. esse й sу um pedaзo do cmd
Reply


Messages In This Thread
[AJUDA] /entrarorg - by Digao - 10.06.2012, 18:06
Re: [AJUDA] /entrarorg - by ViniBorn - 10.06.2012, 18:13
Respuesta: [AJUDA] /entrarorg - by Digao - 10.06.2012, 18:18
Re: [AJUDA] /entrarorg - by Don_Speed - 10.06.2012, 18:21
Respuesta: [AJUDA] /entrarorg - by Digao - 10.06.2012, 18:26
Re: [AJUDA] /entrarorg - by ViniBorn - 10.06.2012, 18:41
Respuesta: [AJUDA] /entrarorg - by Digao - 10.06.2012, 18:42
Re: [AJUDA] /entrarorg - by ViniBorn - 10.06.2012, 18:46
Respuesta: [AJUDA] /entrarorg - by Digao - 10.06.2012, 18:51
Re: [AJUDA] /entrarorg - by SkilL_Fly - 10.06.2012, 21:08

Forum Jump:


Users browsing this thread: 1 Guest(s)