Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.

Wysłany: 2013-08-03, 14:47


Matis997







Wiek: 30
Na forum: 4697 dni
Posty: 17
Nick w MP: Cleo.

Piwa: 1

Respekt: 62

Ostrzeżeń: 100%
Siemanko mam pytanko i? w gm jest ma?o pojazd?w na komendzie /salon nie?,
Jak je doda?? ?eby by?o ich wi?cej.Pewnie si? robi to w gm.Prosz? o dok?adniejszy opis sprawy.Poleci resp i piwo.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 16:57


Rumun







Wiek: 30
Na forum: 5235 dni
Posty: 316
Nick w MP: Rumun

Piwa: 25

Respekt: 69

Mo?e by? tak doda? kod nie ?

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 17:59


Matis997







Wiek: 30
Na forum: 4697 dni
Posty: 17
Nick w MP: Cleo.

Piwa: 1

Respekt: 62

Ostrzeżeń: 100%
Rumun, A mo?e by? tak powiedzia? kt?ry ten kod? bo ja w pawn nie jestem obeznany.!
Co wpisa? aby go znale??.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 18:13


ToxiC.







Wiek: 28
Na forum: 5246 dni
Posty: 3792

Piwa: 8590

Respekt: 1143,8
Respekt: 1143,8

znajd? komend? salon, nie wiem jaki masz system komend ale wci?nij CTRL + F i wpisz np. /salon albo jak nie to cmd:salon , command:salon ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 18:19


siudo97







Wiek: 29
Na forum: 4704 dni
Posty: 42
Nick w MP: Siudo

Piwa: 67

Respekt: 38

Ostrzeżeń: 20%
Matis997, ctrl + f i wpisz "/salon lub te? napisz CMD:salon i daj ten kod nam to ci powiemy...

Podpis
Klepnij mnie ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 18:19


Matis997







Wiek: 30
Na forum: 4697 dni
Posty: 17
Nick w MP: Cleo.

Piwa: 1

Respekt: 62

Ostrzeżeń: 100%
Oldschool, Dzi?ki za podpowied?.

prosz? oto kod:

Kod:


CMD:salon(playerid, cmdtext[])
{
if(!DoInRange(1.5,playerid,2131.8728,-1151.3242,24.0607,182.1723))
{
GuiInfo(playerid,"Nie jeste? w salonie motoryzacyjnym!");
return 1;
}
if(PlayerInfo[playerid][pPosiadaneAuta]==1)
{
if(PlayerInfo[playerid][pMozliweAuta]==1)
{
GuiInfo(playerid, "Aby mie? kolejny pojazd, musisz dokupi? sobie slot za pomoc? konta premium (5PKT)!");
return 1;
}
}
else if(PlayerInfo[playerid][pPosiadaneAuta]==2)
{
if(PlayerInfo[playerid][pMozliweAuta]==2)
{
GuiInfo(playerid, "Aby mie? kolejny pojazd, musisz dokupi? sobie slot za pomoc? konta premium (5PKT)!");
return 1;
}
}
else if(PlayerInfo[playerid][pPosiadaneAuta]==3)
{
if(PlayerInfo[playerid][pMozliweAuta]==3)
{
GuiInfo(playerid, "Aby mie? kolejny pojazd, musisz dokupi? sobie slot za pomoc? konta premium (5PKT)!");
return 1;
}
}
else if(PlayerInfo[playerid][pPosiadaneAuta]==4)
{
if(PlayerInfo[playerid][pMozliweAuta]==4)
{
GuiInfo(playerid, "Aby mie? kolejny pojazd, musisz dokupi? sobie slot za pomoc? konta premium (5PKT)!");
return 1;
}
}
else if(PlayerInfo[playerid][pPosiadaneAuta]==5)
{
GuiInfo(playerid, "Masz ju? maksimum pojazd?w!");
return 1;
}
dShowPlayerDialog(playerid,101,DIALOG_STYLE_LIST,""MAPA"Salon motoryzacyjny",""MAPA"Motory\n"MAPA"Dostawcze\n"MAPA"Terenowe\n"MAPA""MAPA"Osobowki\n"MAPA"Kombi\n"MAPA"","Dalej","Wyjd?");
return 1;


[ Dodano: 2013-08-03, 18:24 ]
Edit: mam jeszcze co? takiego:.

Kod:


new nazwypojazdow[212][32]=
{
"Landstalker","Bravura","Buffalo","Linerunner","Pereniel","Sentinel","Dumper","Firetruck","Trashmaster","Stretch","Manana",
"Infernus","Voodoo","Pony","Mule","Cheetah","Ambulance","Leviathan","Moonbeam","Esperanto","Taxi","Washington","Bobcat",
"Mr Whoopee","BF Injection","Hunter","Premier","Enforcer","Securicar","Banshee","Predator","Bus","Rhino","Barracks",
"Hotknife","Trailer","Previon","Coach","Cabbie","Stallion","Rumpo","RC Bandit","Romero","Packer","Monster","Admiral",
"Squalo","Seasparrow","Pizzaboy","Tram","Trailer","Turismo","Speeder","Reefer","Tropic","Flatbed","Yankee","Caddy",
"Solair","Berkley's RC Van","Skimmer","PCJ-600","Faggio","Harley","RC Baron","RC Raider","Glendale","Oceanic",
"Sanchez","Sparrow","Patriot","Quad","Coastguard","Dinghy","Hermes","Sabre","Rustler","ZR3 50","Walton","Regina",
"Comet","BMX","Burrito","Camper","Marquis","Baggage","Dozer","Maverick","News Chopper","Rancher","FBI Rancher",
"Virgo","Greenwood","Jetmax","Hotring","Sandking","Blista Compact","Police Maverick","Boxville","Benson","Mesa",
"RC Goblin","Hotring Racer","Hotring Racer","Bloodring Banger","Rancher","Super GT","Elegant","Journey","Bike",
"Mountain Bike","Beagle","Cropdust","Stunt","Tanker","RoadTrain","Nebula","Majestic","Buccaneer","Shamal","Hydra",
"FCR-900","NRG-500","HPV1000","Cement Truck","Tow Truck","Fortune","Cadrona","FBI Truck","Willard","Forklift","Traktor",
"Combine","Feltzer","Remington","Slamvan","Blade","Freight","Streak","Vortex","Vincent","Bullet","Clover","Sadler",
"Firetruck","Hustler","Intruder","Primo","Cargobob","Tampa","Sunrise","Merit","Utility","Nevada","Yosemite","Windsor",
"Monster","Monster","Uranus","Jester","Sultan","Stratum","Elegy","Raindance","RC Tiger","Flash","Tahoma","Savanna",
"Bandito","Freight","Trailer","Kart","Mower","Duneride","Sweeper","Broadway","Tornado","AT-400","DFT-30","Huntley",
"Stafford","BF-400","Newsvan","Tug","Trailer","Emperor","Wayfarer","Euros","Hotdog","Club","Trailer","Trailer",
"Andromeda","Dodo","RC Cam","Launch","LS Police-Car","SF Police-Car","LV Police-Car","Police Rancher","Picador","SWAT Van",
"Alpha","Phoenix","Glendale","Sadler","Luggage Trailer","Luggage Trailer","Stair Trailer","Boxville","Farm Plow","Utility Trailer"
};


Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 18:26


B!4CK

Never give UP!






Wiek: 32
Na forum: 5809 dni
Posty: 1047
Nick w MP: John

Piwa: 1891

Respekt: 124,2
Respekt: 124,2

Matis997, to jest gdzie indziej, to chyba mapa honest' i s? w innym kodzie czyli w public onplayerdialog czy jako? tak i tam szukasz sprzedajwoz czy co? takiego i szukasz pozycj? pojazd?w, a dalej masz ID, kasa, paliwo, pkt premium taki kod.

Podpis
Cześć
! :)


Projekt, który poruszy scenę platformy SA:MP!
Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 18:36


Matis997







Wiek: 30
Na forum: 4697 dni
Posty: 17
Nick w MP: Cleo.

Piwa: 1

Respekt: 62

Ostrzeżeń: 100%
blackelegy, Znaczy to by? honest.Teraz tego honestem nazwa? nie mo?na.

[ Dodano: 2013-08-03, 18:36 ]
PS: M?g? by? pom?c? co dok?adniej mam wyszuka??

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 19:12


Rumun







Wiek: 30
Na forum: 5235 dni
Posty: 316
Nick w MP: Rumun

Piwa: 25

Respekt: 69

Znajd?
Kod:

OnDialogResponse
. Tak,tak szukasz tak samo jak cmd /salon.

Wstaw kod z tego publica.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 20:09


Matis997







Wiek: 30
Na forum: 4697 dni
Posty: 17
Nick w MP: Cleo.

Piwa: 1

Respekt: 62

Ostrzeżeń: 100%
Znalaz?em to

Kod:

OnDialogResponse


I tam nic nie ma o pojazdach!.
Jest tylko panel logowania.

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 20:19


Rumun







Wiek: 30
Na forum: 5235 dni
Posty: 316
Nick w MP: Rumun

Piwa: 25

Respekt: 69

Dziwne...Popatrz jeszcze raz sokole oko.


Jak jeste? ma?o spostrzegawczy to ' Ctrl + F ' i wklej to

Kod:

if(dialogid == 101)



Mo?e jednak co? najdzie. ;)

Postaw piwo autorowi tego posta
 

 
Wysłany: 2013-08-03, 20:55


Matis997







Wiek: 30
Na forum: 4697 dni
Posty: 17
Nick w MP: Cleo.

Piwa: 1

Respekt: 62

Ostrzeżeń: 100%
Prosz?:

Kod:


case 0://Motory
{ new string[100];
new string1[100];
new string2[100];
new string3[100];
new gui[700];
format(string, sizeof(string), "Freeway\t "SZARY"(8000$)\n");
format(string1, sizeof(string1), "Faggio\t "SZARY"(500$)\n");
format(string2, sizeof(string2), "Sanchez\t "SZARY"(10000$)\n");
format(string3, sizeof(string3), "Wayfarer\t "SZARY"(5000$)\n");
format(gui,sizeof(gui), "%s%s%s%s%s%s%s%s%s%s%s%s",string,string1,string2,string3);
dShowPlayerDialog(playerid,102,DIALOG_STYLE_LIST,""MAPA"Salon motoryzacyjny",gui,"Kup","Wyjd?");
}
case 1://Dostawcze
{
new string[100];
new string1[100];
new string2[100];
new string3[100];
new string4[100];
new string5[100];
new string6[100];
new gui[700];
format(string, sizeof(string), "Pony\t "SZARY"(7000$)\n");
format(string1, sizeof(string1), "Rumpo\t "SZARY"(10000$)\n");
format(string2, sizeof(string2), "Yankee\t "SZARY"(5000$)\n");
format(string3, sizeof(string3), "Burrito\t "SZARY"(15000$)\n");
format(string4, sizeof(string4), "Boxivlle\t "SZARY"(7500$)\n");
format(string5, sizeof(string5), "Benson\t "SZARY"(8000$)\n");
format(string6, sizeof(string6), "Bobcat\t "SZARY"(5500$)\n");
format(gui,sizeof(gui), "%s%s%s%s%s%s%s%s%s",string,string1,string2,string3,string4,string5,string6);
dShowPlayerDialog(playerid,103,DIALOG_STYLE_LIST,""MAPA"Salon motoryzacyjny",gui,"Kup","Wyjd?");
}
case 2://terenowe
{
new string[100];
new string1[100];
new string2[100];
new string3[100];
new gui[700];
format(string, sizeof(string), "Mesa\t "SZARY"(9500$)\n");
format(string1, sizeof(string1), "Rancher\t "SZARY"(15000$)\n");
format(string2, sizeof(string2), "Yosemite\t "SZARY"(12000$)\n");
format(string3, sizeof(string3), "Huntley\t "SZARY"(17000$)\n");
format(gui,sizeof(gui), "%s%s%s%s%s%s%s%s",string,string1,string2,string3);
dShowPlayerDialog(playerid,104,DIALOG_STYLE_LIST,""MAPA"Salon motoryzacyjny",gui,"Kup","Wyjd?");
}
case 3://osobowe
{
new string[100];
new string1[100];
new string2[100];
new string3[100];
new string4[100];
new string5[100];
new string6[100];
new string7[100];
new string8[100];
new string9[100];
new string10[100];
new string11[100];
new string12[100];
new string13[100];
new gui[1300];
format(string, sizeof(string), "Clover\t "SZARY"(4500$)\n");
format(string1, sizeof(string1), "Glendale\t "SZARY"(7500$)\n");
format(string2, sizeof(string2), "Tampa\t "SZARY"(2000$)\n");
format(string3, sizeof(string3), "Manana\t "SZARY"(3000$)\n");
format(string4, sizeof(string4), "Oceanic\t "SZARY"(4500$)\n");
format(string5, sizeof(string5), "Club\t "SZARY"(12000$)\n");
format(string6, sizeof(string6), "Bravura\t "SZARY"(5000$)\n");
format(string7, sizeof(string7), "Previon\t "SZARY"(6000$)\n");
format(string8, sizeof(string8), "Stallion\t "SZARY"(9000$)\n");
format(string9, sizeof(string9), "Admiral\t "SZARY"(8000$)\n");
format(string10, sizeof(string10), "Tahoma\t "SZARY"(10000$)\n");
format(string11, sizeof(string11), "Sabre\t "SZARY"(17000$)\n");
format(string12, sizeof(string12), "Tornado\t "SZARY"(7500$)\n");
format(string13, sizeof(string13), "Voodo\t "SZARY"(8000$)\n");
format(gui,sizeof(gui), "%s%s%s%s%s%s",string,string1,string2,string3,string4,string5,string6,string7,string8,string9,string10,string11,string12,string13);
dShowPlayerDialog(playerid,105,DIALOG_STYLE_LIST,""MAPA"Salon motoryzacyjny",gui,"Kup","Wyjd?");
}
case 4://kombi
{
new string[100];
new string1[100];
new string2[100];
new string3[100];
new gui[700];
format(string, sizeof(string), "Perenniel\t "SZARY"(2500$)\n");
format(string1, sizeof(string1), "Solair\t "SZARY"(5000$)\n");
format(string2, sizeof(string2), "Regina\t "SZARY"(4000$)\n");
format(string3, sizeof(string3), "Stratum\t "SZARY"(8500$)\n");
format(gui,sizeof(gui), "%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s",string,string1,string2,string3);
dShowPlayerDialog(playerid,106,DIALOG_STYLE_LIST,""MAPA"Salon motoryzacyjny",gui,"Kup","Wyjd?");
}


Rumun, Nie b?d? taki cwany :> . Ciekawe jak dobrze by? widzia? po pijaku.

Postaw piwo autorowi tego posta
 

 
Tagi: pojazdy
Anonymous





Na forum: 245 dni
Posty: 1



Anonymous Koniecznie zajrzyj na:






Skocz do:  
Wyświetl posty z ostatnich:   
GTAONLINE.PL » JĘZYKI PROGRAMOWANIA » PAWN Ten temat jest zablokowany bez możliwości zmiany postów lub pisania odpowiedzi

Nie możesz pisać nowych tematów
Nie możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Dodaj temat do Ulubionych
Wersja do druku