[Ajuda] Ajuda ae Simples !
#4

pawn Код:
if(strcmp(cmd, "/entrarorg1", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if(PlayerInfo[playerid][pVIP] >= 3)
            {
                if(PlayerInfo[playerid][pMembro] != 0 || PlayerInfo[playerid][pLider] != 0)
                {
                    SendClientMessage(playerid, COLOR_GREY, "Olб Sуcio,Vocк Precisa /pedircontas para trocar de organizaзгo");
                    return true;
                }
                PlayerInfo[playerid][pMembro] = 1;
                SetPlayerColor(playerid, COR_PM);
                PlayerInfo[playerid][pCargo] = 4;
                SetPlayerSkin(playerid,280);
                PlayerInfo[playerid][pSkin] = 280;
                ConviteInfoOrg(PlayerName(playerid), 1, 1);
                SetPlayerSpawn(playerid);
                format(string, sizeof(string, "O Jogador Sуcio %s entrou na organizaзгo 1", sendername);
                SendClientMessageToAll(-1, string);
            }
        }
        return true;
    }
caso sendername nгo esteja definido( tenho ctz q vai.. ) coloque isso

pawn Код:
new sendername[MAX_PLAYER_NAME];
        GetPlayerName(playerid, sendername, sizeof(sendername));
Reply


Messages In This Thread
Ajuda ae Simples ! - by ecko_style - 15.08.2012, 21:28
Respuesta: Ajuda ae Simples ! - by Digao - 15.08.2012, 21:31
Re: Ajuda ae Simples ! - by ecko_style - 15.08.2012, 22:30
Respuesta: Ajuda ae Simples ! - by Digao - 15.08.2012, 22:43
Re: Ajuda ae Simples ! - by ecko_style - 16.08.2012, 00:13
Re: Ajuda ae Simples ! - by Douglas_prt - 16.08.2012, 00:17
Respuesta: Ajuda ae Simples ! - by Digao - 16.08.2012, 00:46
Re: Ajuda ae Simples ! - by Douglas_prt - 16.08.2012, 00:52
Re: Ajuda ae Simples ! - by Ricop522 - 16.08.2012, 00:56
Re: Ajuda ae Simples ! - by ecko_style - 16.08.2012, 00:57

Forum Jump:


Users browsing this thread: 1 Guest(s)