SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese > Lançamentos/Releases

Reply
 
Thread Tools Display Modes
Old 04/01/2019, 01:40 PM   #1
MituhBR
Big Clucker
 
Join Date: Jan 2017
Location: Santa Catarina
Posts: 159
Reputation: 4
Default Oficina,Posto e Mercado em Fort Carson

Introdução

Esse é o primeiro mapa que eu posto aqui no fórum, o mapa se trata de uma pequena oficina, um posto e um mercadinho em Fort Carson (avá), fiz ele porque Fort Carson tem pouca coisa já que é uma cidade bem pequena e a maioria dos objetos que você remove fazem um buraco no chão (são todos grudados, como em Dillimore). O mercado é totalmente texturizado e possue interior com um ator dentro, como se fosse um vendedor.

Só peço que façam críticas construtivas e não retirem os créditos.



PHP Code:
// Créditos: MituhBR

// TOPO DO SEU GM OU FS
#pragma tabsize 0
new postoFC;
new 
camofiFC[17];
new 
mercdolly;
new 
entrarmercdolly;
new 
sairmercdolly;
new 
AtorMercdolly;
new 
letmercdolly;
#define COLOUR_INFORMACAO      0xFFFF00FF

public OnPlayerConnect(playerid)
{
    
RemoveBuildingForPlayer(playerid16618, -117.76561079.460922.21880.25);
    
RemoveBuildingForPlayer(playerid16740, -152.32031144.070330.30470.25);
    
RemoveBuildingForPlayer(playerid16386, -117.76561079.460922.21880.25);
    
RemoveBuildingForPlayer(playerid1345, -123.81251079.398419.50000.25);
    
RemoveBuildingForPlayer(playerid16617, -122.74221122.750018.73440.25);
    
RemoveBuildingForPlayer(playerid16618, -117.76561079.460922.21880.25);
    
RemoveBuildingForPlayer(playerid1411, -146.92971108.234420.33590.25);
    
RemoveBuildingForPlayer(playerid16740, -152.32031144.070330.30470.25);
    
RemoveBuildingForPlayer(playerid16386, -117.76561079.460922.21880.25);
    
RemoveBuildingForPlayer(playerid1411, -136.53911108.234420.33590.25);
    
RemoveBuildingForPlayer(playerid1411, -141.73441108.234420.33590.25);
    
RemoveBuildingForPlayer(playerid1412, -133.98441111.078120.02340.25);
    
RemoveBuildingForPlayer(playerid669, -120.87501110.421918.67970.25);
    
RemoveBuildingForPlayer(playerid16385, -122.74221122.750018.73440.25);
    
RemoveBuildingForPlayer(playerid1412, -133.85161134.414120.02340.25);
    
GameTextForPlayer(playerid,"~w~SA-MP: ~r~Bare Script",5000,5);
    return 
1;
}

public 
OnGameModeInit() // OU, publicOnFilterScriptInit()
{
    
// criar pickups
    
sairmercdolly CreatePickup(13181, -25.8585,-141.5531,1003.54698);
    
entrarmercdolly CreatePickup(13181, -126.2118,1087.7164,19.7489, -1);
        
// OFICINA e POSTO em FORT CARSON
CreateObject(12943, -112.336301122.0723918.73380,   0.000000.00000, -90.12000);
CreateObject(12925, -121.205761122.0346718.73152,   0.000000.00000, -269.93985);
CreateObject(19381, -128.621511113.1785918.65520,   0.0000090.000000.00000);
CreateObject(19381, -128.606381122.7619618.65520,   0.0000090.000000.00000);
CreateObject(19381, -128.591481132.3505918.65520,   0.0000090.000000.00000);
CreateObject(19381, -128.609331133.5819118.65520,   0.0000090.000000.00000);
CreateObject(19381, -124.270461133.6787118.65520,   0.0000090.0000011.40000);
CreateObject(19381, -122.312641134.2797918.65520,   0.0000090.000009.54000);
CreateObject(19373, -118.118771131.3967318.65850,   0.0000090.0000099.65999);
CreateObject(19817, -112.268301123.1066918.69770,   0.000000.000000.00000);
CreateObject(19899, -115.711201115.5808118.73780,   0.000000.000000.00000);
CreateObject(19900, -108.695351114.6367218.73875,   0.000000.000000.00000);
CreateObject(19900, -108.695401115.2967518.73870,   0.000000.000000.00000);
CreateObject(19627, -108.803301115.3247119.61300,   0.100000.4000050.00000);
CreateObject(18633, -108.635201114.7758819.63400,   0.0000090.0000021.10000);
CreateObject(19899, -115.823451125.0335718.73780,   0.000000.000000.00000);
CreateObject(19900, -108.680431118.7761218.73870,   0.000000.000000.00000);
CreateObject(19900, -108.682721119.4174818.73870,   0.000000.000000.00000);
CreateObject(19900, -108.682701119.4174819.61870,   0.000000.000000.00000);
CreateObject(19900, -108.680401118.7761219.61870,   0.000000.000000.00000);
CreateObject(18644, -108.914001114.5805719.61340,   90.000000.00000, -34.98000);
CreateObject(19900, -116.007511117.7817418.73870,   0.000000.00000, -180.29991);
CreateObject(19900, -115.999741118.4327418.73870,   0.000000.00000, -180.29991);
CreateObject(18635, -115.969801117.8487519.61300,   90.000000.00000340.00000);
CreateObject(19631, -116.004601118.2699019.63310,   0.0000090.00000336.04010);
postoFC CreateObject(18232, -84.163641071.3067618.73120,   0.000000.00000, -179.88000);
SetObjectMaterial(postoFC3,  3979"civic01_lan""sl_laglasswall2"0xFFFFFFFF);
SetObjectMaterial(postoFC2,  3979"civic01_lan""sl_laglasswall2"0xFFFFFFFF);
SetObjectMaterial(postoFC6,  12924"sw_block06""alleydoor4"0xFFFFFFFF);
SetObjectMaterial(postoFC4,  18265"w_town3cs_t""des_door2"0xFFFFFFFF);
SetObjectMaterial(postoFC5,  16150"ufo_bar""GEwhite1_64"0xFFFFFFFF);
SetObjectMaterial(postoFC1,  16150"ufo_bar""GEwhite1_64"0xFFFFFFFF);

CreateObject(18452, -97.587701081.5278321.69360,   0.000000.000000.00000);
CreateObject(1686, -97.566201084.3872118.94070,   0.000000.00000, -89.40000);
CreateObject(1686, -97.566201078.7672118.94070,   0.000000.00000, -89.40000);
CreateObject(12943, -142.377981127.9610618.73380,   0.000000.00000, -90.12000);
CreateObject(19872, -142.342881126.3516817.04350,   0.000000.000000.00000);
CreateObject(7312, -142.369801126.4270020.88200,   0.000000.0000090.00000);
CreateObject(19900, -138.888111121.0980218.74451,   0.000000.000000.00000);
CreateObject(19900, -138.879701120.4574018.74450,   0.000000.000000.00000);
CreateObject(19900, -138.879701120.4574019.62450,   0.000000.000000.00000);
CreateObject(19900, -138.879701121.0974119.62450,   0.000000.000000.00000);

camofiFC[0] = CreateObject(19447, -118.592641112.3310518.65520,   0.0000090.0000090.00000);
camofiFC[1] =     CreateObject(19447, -118.581571110.1160918.65520,   0.0000090.0000090.00000);
camofiFC[2] =     CreateObject(12943, -142.377981127.9610618.73380,   0.000000.00000, -90.12000);
camofiFC[3] =     CreateObject(19447, -144.642591131.1447818.65700,   0.0000090.000000.00000);
camofiFC[4] =     CreateObject(19447, -141.148101131.1402618.65700,   0.0000090.000000.00000);
camofiFC[5] =     CreateObject(19447, -140.110991131.1491718.65700,   0.0000090.000000.00000);
camofiFC[6] =     CreateObject(19447, -144.661301124.7923618.65700,   0.0000090.000000.00000);
camofiFC[7] =     CreateObject(19447, -141.235281124.7952918.65700,   0.0000090.000000.00000);
camofiFC[8] =     CreateObject(19447, -140.155301124.7952918.65700,   0.0000090.000000.00000);
camofiFC[9] =     CreateObject(19447, -142.493071118.2652618.65700,   0.0000090.00000, -90.78001);
camofiFC[10] =     CreateObject(19447, -142.552121114.8038318.65700,   0.0000090.00000, -90.78001);
camofiFC[11] =     CreateObject(19447, -142.571531111.3629218.65700,   0.0000090.00000, -90.78001);
camofiFC[12] =     CreateObject(19447, -142.608001110.0223418.65700,   0.0000090.00000, -90.78001);
camofiFC[13] =     CreateObject(19447, -112.357231112.3258118.65520,   0.0000090.0000090.00000);
camofiFC[14] =     CreateObject(19447, -112.366041110.1033918.65520,   0.0000090.0000090.00000);
camofiFC[15] =     CreateObject(19447, -118.592641112.3310518.65520,   0.0000090.0000090.00000);
camofiFC[16] =     CreateObject(19447, -118.581571110.1160918.65520,   0.0000090.0000090.00000);
for(new 
0!= 17i++) SetObjectMaterial(camofiFC[i], 018202"w_towncs_t""plaintarmac1"0xFFFFFFFF);
// Mercado Dolly em Fort Carson
    
mercdolly CreateObject(18240, -129.857271081.7198518.70520,   0.000000.00000, -179.69991);
    
SetObjectMaterial(mercdolly2,  18202"w_towncs_t""wall256hi"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly10,  12855"cunte_cop""sw_brick05"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly15134"wasteland_las2""genroof01_128"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly35134"wasteland_las2""genroof01_128"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly123979"civic01_lan""sl_laglasswall2"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly136098"tempo22_law""GB_shopdoor01"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly143925"weemap""metaldoor01_256"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly918265"w_town3cs_t""roof04L256"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly1119297"matlights""invisible"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly76336"sunset02_law2""whiteconc01"0xFFFFFFFF);
    
SetObjectMaterial(mercdolly816150"ufo_bar""GEwhite1_64"0xFFFFFFFF);
    
letmercdolly CreateObject(19355, -128.136801086.5650626.76240,   0.000000.000000.00000);
    
SetObjectMaterial(mercdolly012855"cunte_cop""sw_brick05"0xFFFFFFFF);
    
SetObjectMaterialText(letmercdolly"{FF0000}Mercado\nDolly"050"Impact"2410xFFFFFFFF01);
// CRIAR ATOR
AtorMercdolly CreateActor(39,-22.3295,-140.3181,1003.5469,1.0723);
SetActorVirtualWorld(AtorMercdolly8);


    return 
1;
}
public 
OnPlayerPickUpPickup(playeridpickupid)
{
        if(
pickupid == entrarmercdolly)
    {

        
SetPlayerPos(playerid, -25.132598,-139.066986,1003.546875);
        
SetPlayerInterior(playerid16);
        
SetPlayerVirtualWorld(playerid8);
        
SendClientMessage(playerid,COLOUR_INFORMACAO,"[Mercado]: Seja bem-vindo ao Mercado Dolly, ficamos abertos 24h");
        return 
1;
    }

       if(
pickupid == sairmercdolly)
    {
        
SetPlayerPos(playerid, -125.8805,1090.5828,19.7422);
        
SetPlayerInterior(playerid0);
        
SetPlayerVirtualWorld(playerid0);
        
SetPlayerFacingAngle(playerid,273.8198);
        
SendClientMessage(playerid,COLOUR_INFORMACAO,"[Mercado]: Até a próxima compra!");
        return 
1;
    }
    return 
1;

Créditos

MituhBR - Mapa
SA-MP Team - Por proporcionar a criação desse mapa maravilhoso
__________________
[Mapas]

Discord: Kaslow#2196

Last edited by MituhBR; 04/01/2019 at 03:20 PM.
MituhBR is offline   Reply With Quote
Old 05/01/2019, 07:36 PM   #2
GM_KoDi
Gangsta
 
GM_KoDi's Avatar
 
Join Date: Oct 2012
Location: Brazil
Posts: 817
Reputation: 262
Default Re: Oficina,Posto e Mercado em Fort Carson

Parabéns, é simples porem útil para muitos!
Uma pergunta, "Mercado Dolly" esta escrito no nada ? se sim ficaria melhor se colocasse algo de fundo ae.
__________________
Skills with GTA SA and SA-MP
[✔] TextDraws [✔] Mapper [✔] 3D Modeler [✔] Pawn Scripts [✔] Cleo Scripts

GM_KoDi is offline   Reply With Quote
Old 07/01/2019, 11:30 AM   #3
MituhBR
Big Clucker
 
Join Date: Jan 2017
Location: Santa Catarina
Posts: 159
Reputation: 4
Default Re: Oficina,Posto e Mercado em Fort Carson

Quote:
Originally Posted by GM_KoDi View Post
Parabéns, é simples porem útil para muitos!
Uma pergunta, "Mercado Dolly" esta escrito no nada ? se sim ficaria melhor se colocasse algo de fundo ae.
Se eu deixasse o fundo preto ia ficar zuado ;-;

Mas, obrigado
__________________
[Mapas]

Discord: Kaslow#2196
MituhBR is offline   Reply With Quote
Old 07/01/2019, 01:34 PM   #4
NelsonC
Huge Clucker
 
NelsonC's Avatar
 
Join Date: Oct 2017
Location: Germany
Posts: 280
Reputation: 14
Default Re: Oficina,Posto e Mercado em Fort Carson

Boa.
__________________
Perfect City RPG
NelsonC is offline   Reply With Quote
Old 07/01/2019, 04:46 PM   #5
GM_KoDi
Gangsta
 
GM_KoDi's Avatar
 
Join Date: Oct 2012
Location: Brazil
Posts: 817
Reputation: 262
Default Re: Oficina,Posto e Mercado em Fort Carson

Quote:
Originally Posted by MituhBR View Post
Se eu deixasse o fundo preto ia ficar zuado ;-;

Mas, obrigado
Você pode setar a cor que quiser de fundo no parâmetro "backcolor", lembrando que as cores devem ser na forma de ARGB e não RGBA.
__________________
Skills with GTA SA and SA-MP
[✔] TextDraws [✔] Mapper [✔] 3D Modeler [✔] Pawn Scripts [✔] Cleo Scripts

GM_KoDi is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fort Carson Jernu Scripting Help 1 21/07/2013 08:27 PM
[Map] Fort Carson Map xxRichixx Maps 15 01/04/2013 07:48 AM
[Map] Fort Carson Pt1 e 2. BarbaNegra Lançamentos/Releases 33 04/02/2013 12:21 AM
[Map] Fort Carson Map Joshswag Maps 12 13/11/2012 09:11 AM
[Map] [MAP]Re-New Fort Carson ||.Rier.|| Maps 9 20/08/2010 04:32 AM


All times are GMT. The time now is 09:41 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.