fabbeN 3 Odesláno: 25. Červen, 2011 Share Odesláno: 25. Červen, 2011 Caute mám jednu chybu.... Pls neviete prečo sa na svr ani auto neukaže ??? Tu su riadky: http://extra-portal.g6.cz/tunecar.pwn Neberte to ako reklamu ajtak nič neni na tej stránke Nerobil som to ja.Kamoš chcel aby tam mali niektore auta tuning Diky lock a diky Link to comment Share on other sites More sharing options...
0 wroxx 37 Odesláno: 25. Červen, 2011 Share Odesláno: 25. Červen, 2011 Musíš new tune; OnGameModeInit tune = AddStatic..... AddVehicleComponent(tune,č.tun.komponentu); A tak na všetky auta. Link to comment Share on other sites More sharing options...
0 fabbeN 3 Odesláno: 25. Červen, 2011 Author Share Odesláno: 25. Červen, 2011 Diky skusime Link to comment Share on other sites More sharing options...
0 Petr 44 Odesláno: 25. Červen, 2011 Share Odesláno: 25. Červen, 2011 #define FILTERSCRIPT na druhý řádek scriptu. Máš tam toitž podmínku, že se ten kód vyvolá pouze, pokud to je definovaný jako FS. #if defined FILTERSCRIPT Buď tuto podmínku smaž společně s #else #endif Nebo jak už jsem psal nahoře. Link to comment Share on other sites More sharing options...
0 HEAD 0 Odesláno: 25. Červen, 2011 Share Odesláno: 25. Červen, 2011 Drobný detail ... pokud to máš FS, tak ho jistě budeš upravovat i během doby kdy server bude neustále spuštěň .. tudíž místo funkce AddStaticVehicle(); dávej CreateVehicle(); a další drobnej detajl, když dáváš víc aut těžko je nacpešdo jedné proměnné udělal bych to tak, že by jsi měl: nahoře: #include new tune[35]; // dle toho kolik chceš mít aut ( proměnná pro 35 aut .. ) a pak do OnFilterScriptInit() tune[0] = CreateVehicle(....); AddVehicleComponent(tune[0],...); tune[1] = CreateVehicle(...); AddVehicleComponent(tune[1],...); tune[2] = CreateVehicle(...); AddVehicleComponent(tune[2],...); . . . tune[20] = CreateVehicle(...); AddVehicleComponent(tune[20],...); a do OnFilterScriptExit() for(new i=0;i<35;i++) DestroyVehicle(tune[i]); Tím pak všechny auta smažeš při vypnutí FS aby když ho během puštěného serveru pustíš znovu aby se ti nevytvořili další auta a nakonec si jich tam třeba z 10ti neměl 100 ( každý 10x ... ) Link to comment Share on other sites More sharing options...
0 fabbeN 3 Odesláno: 25. Červen, 2011 Author Share Odesláno: 25. Červen, 2011 diky už to mám možte locknuť Link to comment Share on other sites More sharing options...
Dotaz
fabbeN 3
Caute mám jednu chybu....
Pls neviete prečo sa na svr ani auto neukaže ???
Tu su riadky:
Neberte to ako reklamu ajtak nič neni na tej stránke
Nerobil som to ja.Kamoš chcel aby tam mali niektore auta tuning
Diky
lock a diky
Link to comment
Share on other sites
5 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now