[Pomoc] Pomoc oko ubacivanja codova u pawn

Započeo Nastic, Avgust 25, 2011, 18:29:46 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Gamemod: Faction gamemod
Detaljan opis problema: Ovako kada nadjem codove preko deluxe map conventer odem u pawn i stisnem ctrl+f i kucam CreateObject Slika mi se ne pomera stoji u mestu i kad bi nasao to kako da ubacim jel da nalepim codove odmah red ispod toga ili kako mozete mi objasniti molim vas?
Neke slike/video za lakse dobivanje pomoci:
http://i53.tinypic.com/11kz6ut.jpg
http://i54.tinypic.com/2mxetrd.jpg
Na slikama se vidi kako mi se nista ne desava.
Poslednja Izmena: Avgust 25, 2011, 18:30:19 POSLE PODNE od Nastic

aute, objekte, pickupove itd..
sve staljas pod ongamemodeinit
Vratio sam se ponovo ocekjute novi server...

Znaci samo nadjem to i ispod toga nalepim codove i snimim mapu i posle na GP stavljam u filescripts ili gamemods ?

primjer:

public OnGameModeInit()
{
CreateObject(objekt, x,y,z...);
return 1;
}

stisnes f5 i to je to..
nemoras nista u fs ubacit..
Poslednja Izmena: Avgust 25, 2011, 18:36:01 POSLE PODNE od Narco_VK
Vratio sam se ponovo ocekjute novi server...

Da to ali ja zelim da ubacim to iz pawna na GamePanel da bi imao na serveru :D

pa radis ovako na kompu pa onda s GP-a to uploadas taj mod i pokrenes server..
Vratio sam se ponovo ocekjute novi server...

Vidi ovo brate i kaze mi 1 warning ne znam gde sam pogresio ? Mozes li ti videti molim te a za codove sve sam lepo prekopirao sigurno 30 puta sam proveravao :D
public OnGameModeInit()
{
CreateObject(4641, 1150.1185302734, -934.25335693359, 43.894386291504, 0, 0, 270);
CreateObject(966, 1148.8455810547, -934.03186035156, 42.208656311035, 0, 0, 4);
CreateObject(968, 1148.783203125, -934.10522460938, 43.208656311035, 0, 0, 178);
CreateObject(1251, 1145.55859375, -934.50463867188, 42.223957061768, 0, 0, 274);
CreateObject(997, 1149.17578125, -928.71520996094, 42.203125, 0, 0, 274);
CreateObject(997, 1149.2414550781, -928.31237792969, 42.203125, 0, 0, 94);
CreateObject(997, 1148.8160400391, -921.56781005859, 42.028823852539, 0, 0, 274);
CreateObject(997, 1148.5318603516, -917.70849609375, 41.901710510254, 0, 0, 274);
CreateObject(997, 1148.138671875, -913.77838134766, 41.828125, 0, 0, 274);
CreateObject(997, 1147.7059326172, -910.11169433594, 41.828125, 0, 0, 276);
CreateObject(997, 1147.3752441406, -906.62994384766, 41.828125, 0, 0, 276);
CreateObject(997, 1137.9073486328, -934.88037109375, 41.924797058105, 0, 0, 4);
CreateObject(870, 1135.123046875, -935.67584228516, 42.139392852783, 0, 0, 0);
CreateObject(870, 1132.4453125, -935.69635009766, 42.177822113037, 0, 0, 0);
CreateObject(870, 1133.6029052734, -936.59405517578, 42.139484405518, 0, 0, 0);
CreateObject(870, 1133.9196777344, -936.3291015625, 42.139247894287, 0, 0, 0);
CreateObject(870, 1134.9831542969, -936.54217529297, 42.141689300537, 0, 0, 0);
CreateObject(870, 1132.6419677734, -936.06048583984, 42.146503448486, 0, 0, 0);
CreateObject(870, 1133.8905029297, -937.10589599609, 42.14147567749, 0, 0, 0);
CreateObject(638, 1128.8564453125, -936.21008300781, 42.651988983154, 0, 0, 274);
CreateObject(870, 1136.0180664063, -936.28979492188, 42.142719268799, 0, 0, 0);
CreateObject(870, 1135.5405273438, -937.10485839844, 42.144290924072, 0, 0, 0);
CreateObject(870, 1132.6381835938, -936.91064453125, 42.138763427734, 0, 0, 0);
CreateObject(870, 1135.1865234375, -937.19982910156, 42.143966674805, 0, 0, 0);
CreateObject(997, 1140.7946777344, -906.99481201172, 42.182197570801, 0, 0, 0);
CreateObject(997, 1137.1860351563, -906.95922851563, 42.393188476563, 0, 0, 0);
   // 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;
}

koji warning si dobio...
Vratio sam se ponovo ocekjute novi server...

Ovako pise:
C:\Documents and Settings\Nikola\Desktop\banderasrece.pwn(62) : warning 217: loose indentation
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.


Citat: Nastic poslato Avgust 25, 2011, 19:03:02 POSLE PODNE
ovo iznad return da stavim 1 red iznad sve to?

public OnGameModeInit()
{
CreateObject(4641, 1150.1185302734, -934.25335693359, 43.894386291504, 0, 0, 270);
CreateObject(966, 1148.8455810547, -934.03186035156, 42.208656311035, 0, 0, 4);
CreateObject(968, 1148.783203125, -934.10522460938, 43.208656311035, 0, 0, 178);
CreateObject(1251, 1145.55859375, -934.50463867188, 42.223957061768, 0, 0, 274);
CreateObject(997, 1149.17578125, -928.71520996094, 42.203125, 0, 0, 274);
CreateObject(997, 1149.2414550781, -928.31237792969, 42.203125, 0, 0, 94);
CreateObject(997, 1148.8160400391, -921.56781005859, 42.028823852539, 0, 0, 274);
CreateObject(997, 1148.5318603516, -917.70849609375, 41.901710510254, 0, 0, 274);
CreateObject(997, 1148.138671875, -913.77838134766, 41.828125, 0, 0, 274);
CreateObject(997, 1147.7059326172, -910.11169433594, 41.828125, 0, 0, 276);
CreateObject(997, 1147.3752441406, -906.62994384766, 41.828125, 0, 0, 276);
CreateObject(997, 1137.9073486328, -934.88037109375, 41.924797058105, 0, 0, 4);
CreateObject(870, 1135.123046875, -935.67584228516, 42.139392852783, 0, 0, 0);
CreateObject(870, 1132.4453125, -935.69635009766, 42.177822113037, 0, 0, 0);
CreateObject(870, 1133.6029052734, -936.59405517578, 42.139484405518, 0, 0, 0);
CreateObject(870, 1133.9196777344, -936.3291015625, 42.139247894287, 0, 0, 0);
CreateObject(870, 1134.9831542969, -936.54217529297, 42.141689300537, 0, 0, 0);
CreateObject(870, 1132.6419677734, -936.06048583984, 42.146503448486, 0, 0, 0);
CreateObject(870, 1133.8905029297, -937.10589599609, 42.14147567749, 0, 0, 0);
CreateObject(638, 1128.8564453125, -936.21008300781, 42.651988983154, 0, 0, 274);
CreateObject(870, 1136.0180664063, -936.28979492188, 42.142719268799, 0, 0, 0);
CreateObject(870, 1135.5405273438, -937.10485839844, 42.144290924072, 0, 0, 0);
CreateObject(870, 1132.6381835938, -936.91064453125, 42.138763427734, 0, 0, 0);
CreateObject(870, 1135.1865234375, -937.19982910156, 42.143966674805, 0, 0, 0);
CreateObject(997, 1140.7946777344, -906.99481201172, 42.182197570801, 0, 0, 0);
CreateObject(997, 1137.1860351563, -906.95922851563, 42.393188476563, 0, 0, 0);
// 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;
}

tako stavi.

eto covjek ti je rekao i ja mislim da ce ovo bit dobro ;)



Hvala brate nije mi izbacilo warning samo ovo: Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase
znaci da je dobro :P :D
I sad da to ubacim u gamemods ili filescripts ?