[Pomoc]Kako prebaciti ono sto iskriptam u mta na svoj server

Započeo In0, Septembar 12, 2010, 20:16:34 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 3 gostiju pregledaju ovu temu.

In0

*

Ovako u mta sam modirao bazu i burger , kako da sad to ubacim da mi bude na serveru,ako sam pomjesao gdje treba postati  samo premjestite nemojte brisati , jer ovdje samo u vezi pawna pomoc,ali to je vezano za pawno ja mislim.
Edit : i da nebi otvarao novu temu,kako cu napraviti da mi se pomice kapija da udjem u bazu,hvala
Poslednja Izmena: Septembar 12, 2010, 20:19:16 POSLE PODNE od In0

Evo ima jedna stranica to moras proguglat koju otvoris pa ti ona izbaci sve objekte koje si napravio a sto se tice kapije imas puno tutova

EDIT: http://gtamap.delux-host.com/converter/ to ti je stranica tamo odes "Browes" ali prije dole odbares format "PAWN Code for SA:MP"
Poslednja Izmena: Septembar 12, 2010, 20:23:03 POSLE PODNE od NO.1 L3O

In0

*

C:\Documents and Settings\.holz\Desktop\Indirove Kucne Carolije\Kucni server\gamemodes\gf.pwn(26239) : error 021: symbol already defined: "CreateObject"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.  taj mi izbacuje eror

Sta si ti radio to? Nesto kao stock CreateObject? Public CreateObject?

Ako imas nesto takvog, brisi to
Aequam memento rebus in arduis servare mentem.

In0

*

Ovako otisao sam na tu stranicu ocitao mapu koju ocu da ubacim i postavio tamo pawno code for samp i izaslo mi je ovo:
CreateObject(18090, 1201.2242431641, -913.10656738281, 49.625869750977, 0, 0, 280);
CreateObject(1825, 1197.4722900391, -909.87805175781, 47.0625, 0, 0, 0);
CreateObject(1825, 1199.1539306641, -906.66870117188, 47.0625, 0, 0, 0);
CreateObject(1825, 1200.0294189453, -909.72692871094, 47.0625, 0, 0, 0);
CreateObject(1825, 1203.3070068359, -908.17840576172, 47.0625, 0, 0, 0);
CreateObject(1825, 1201.7657470703, -906.11303710938, 47.0625, 0, 0, 0);
CreateObject(1825, 1205.7066650391, -909.31066894531, 47.0625, 0, 0, 0);
CreateObject(1594, 1195.9658203125, -906.93072509766, 47.539489746094, 0, 0, 0);
CreateObject(1594, 1204.7395019531, -905.98187255859, 47.539489746094, 0, 0, 0);
CreateObject(1594, 1194.7060546875, -910.13543701172, 47.539489746094, 0, 0, 0);
CreateObject(8613, 997.82550048828, -1458.9079589844, 16.918296813965, 0, 0, 180);
CreateObject(10009, 983.90118408203, -1435.8693847656, 17.107618331909, 0, 0, 90);
CreateObject(974, 962.70416259766, -1427.1799316406, 15.324615478516, 0, 0, 0);
CreateObject(974, 957.09051513672, -1427.1538085938, 15.324615478516, 0, 0, 0);
CreateObject(974, 950.66900634766, -1427.1691894531, 18.932704925537, 0, 0, 0);
CreateObject(974, 962.69665527344, -1473.0510253906, 15.293884277344, 0, 0, 0);
CreateObject(974, 956.34332275391, -1473.0958251953, 15.323679924011, 0, 0, 0);
CreateObject(974, 950.05004882813, -1473.0689697266, 18.926177978516, 0, 0, 0);
CreateObject(980, 1032.8312988281, -1458.8173828125, 15.327390670776, 0, 0, 90);

to sam ubacio dole na kraj pawna , tako sam uradio i izbaci mi taj eror

Citat: In0 poslato Septembar 13, 2010, 14:22:46 POSLE PODNE
Ovako otisao sam na tu stranicu ocitao mapu koju ocu da ubacim i postavio tamo pawno code for samp i izaslo mi je ovo:
CreateObject(18090, 1201.2242431641, -913.10656738281, 49.625869750977, 0, 0, 280);
CreateObject(1825, 1197.4722900391, -909.87805175781, 47.0625, 0, 0, 0);
CreateObject(1825, 1199.1539306641, -906.66870117188, 47.0625, 0, 0, 0);
CreateObject(1825, 1200.0294189453, -909.72692871094, 47.0625, 0, 0, 0);
CreateObject(1825, 1203.3070068359, -908.17840576172, 47.0625, 0, 0, 0);
CreateObject(1825, 1201.7657470703, -906.11303710938, 47.0625, 0, 0, 0);
CreateObject(1825, 1205.7066650391, -909.31066894531, 47.0625, 0, 0, 0);
CreateObject(1594, 1195.9658203125, -906.93072509766, 47.539489746094, 0, 0, 0);
CreateObject(1594, 1204.7395019531, -905.98187255859, 47.539489746094, 0, 0, 0);
CreateObject(1594, 1194.7060546875, -910.13543701172, 47.539489746094, 0, 0, 0);
CreateObject(8613, 997.82550048828, -1458.9079589844, 16.918296813965, 0, 0, 180);
CreateObject(10009, 983.90118408203, -1435.8693847656, 17.107618331909, 0, 0, 90);
CreateObject(974, 962.70416259766, -1427.1799316406, 15.324615478516, 0, 0, 0);
CreateObject(974, 957.09051513672, -1427.1538085938, 15.324615478516, 0, 0, 0);
CreateObject(974, 950.66900634766, -1427.1691894531, 18.932704925537, 0, 0, 0);
CreateObject(974, 962.69665527344, -1473.0510253906, 15.293884277344, 0, 0, 0);
CreateObject(974, 956.34332275391, -1473.0958251953, 15.323679924011, 0, 0, 0);
CreateObject(974, 950.05004882813, -1473.0689697266, 18.926177978516, 0, 0, 0);
CreateObject(980, 1032.8312988281, -1458.8173828125, 15.327390670776, 0, 0, 90);

to sam ubacio dole na kraj pawna , tako sam uradio i izbaci mi taj eror

To trebas staviti pod OnGameModeInit

stisni ctrl+f i upisi OnGameModeInit i kad ti to nadje ovo sto si dobio kad si convertirao zaljepi

public OnGameModeInit()
{
OVDJE
// Don't use these lines if it's a filterscript
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}

a kad ubacujes auto tj. kad convertiras i kad ti iozbaci nesto kao AddStaticVehicleEx onda to stavi

public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
OVDJE
SetGameModeText("Blank Script");
AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
Poslednja Izmena: Septembar 13, 2010, 14:29:52 POSLE PODNE od [ST]DeFox

In0

*

opet isto :/


C:\Documents and Settings\.holz\Desktop\Indirove Kucne Carolije\Kucni server\gamemodes\gf.pwn(6654) : warning 217: loose indentation
C:\Documents and Settings\.holz\Desktop\Indirove Kucne Carolije\Kucni server\gamemodes\gf.pwn(26263) : error 021: symbol already defined: "CreateObject"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Error.



EDIT : Aaa izvinite momci nisam obrisao ono dole bio sve mi je u redu sada hvala vam puno !!!
Poslednja Izmena: Septembar 13, 2010, 15:41:28 POSLE PODNE od In0

Daj liniju 26263 i gore par i dole par njih.. a loose indentation ti je razmak
Aequam memento rebus in arduis servare mentem.

Citat: LuKsA poslato Septembar 13, 2010, 15:56:38 POSLE PODNE
Daj liniju 26263 i gore par i dole par njih.. a loose indentation ti je razmak
Reko je da mu je sad sve u redu...Editao je post  ;)

In0

*

Izvinite sto vam dosadjujem xd , mozete sada malo bolje ovo za auta pojasniti pls   :-*

za auta je AddStaticVehicleEx
ako koristis GF mod onda pritisni ctrl+f i ukucaj AddStaticVehicleEx i tu ces naci neku listu auta koja su dodana,ako oces mozes ih sve obrisati i staviti svoja auta
AddStaticVehicleEx(ID_auta,x,y,z,boja_1,boja_2,vrijeme_respawna)