[AJUDA] /entrarorg
#5

Voo tentar aqui '-

@EDIT

pawn Код:
if(strcmp(cmd,"/entrarorg",true)==0) // NOVO ENTRAR ORG
    {
        if(IsPlayerConnected(playerid))
        {
            if(WantedPoints[playerid] > 0 || PlayerInfo[playerid][pSocio] == 0 || PlayerInfo[playerid][pMembro] > 0 || PlayerInfo[playerid][pLider] > 0)
               return SendClientMessage(playerid,-1,"Vocк nгo pode usar este comando");
            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");
                return 1;
            }
            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);
            }

assim nй ?
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)