SA-MP Forums Archive
[Ajuda] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] (/showthread.php?tid=275668)



[Ajuda] - Felipe_capone - 10.08.2011

Ola Tenho uma duvida aki axo que й simples pra quem intende eu colokei 2 novas moto na Hq Alqaeda Sу que nessas 2 motos Qualker player Pode entrar nela como eu fasso pra por sу pros membros da alqaeda Poder usa ela ?


Re: [Ajuda] - [R] ousenber [K] - 10.08.2011

https://sampforum.blast.hk/showthread.php?tid=270889

Como criar Org+ Os Carros


Re: [Ajuda] - trollv - 10.08.2011

Vou dar um exemplo pq nгo sei como й o seu cуdigo pra definir a AQ

pawn Код:
new ALQAEDA[2];
public OnGameModeInit
{
    ALQAEDA[0] = AddStaticVehicleEx(522,...; //
    ALQAEDA[1] = AddStaticVehicleEx(522,...); //
}

public OnPlayerEnteVehicle
{
       new Float:X,Float:Y,Float:Z;
       GetPlayerPos(playerid,X,Y,Z);
       for(new i=0; i < TOTALPLAYERS; i++)
        if() // Aqui vc coloca o que define a gang por exemplo if(gangdoplayer != alqaeda)
        {
            for(new i=0; i < sizeof(ALQAEDA); i++)
            {
                if(vehicleid == ALQAEDA[i] && ispassenger == 0)
                {
                    SetPlayerPos(playerid,X,Y,Z);
                    SendClientMessage(playerid,0xFFFFAA,"[INFO] Esse veнculo й exclusivo da Al-Qaeda.");
                }
            }
        }
}



Re: [Ajuda] - Felipe_capone - 10.08.2011

Pow desculpa mais so novo nisso nao entendi nada