chytrak 14 Odesláno: 9. Srpen, 2008 Share Odesláno: 9. Srpen, 2008 Úplně dolu před return 1 do public OnGameModeInit() public OnGameModeInit() { //----SPZ for(new i = 0; i < MAX_VEHICLES; i++) { SetVehicleNumberPlate(i, "Vas kratky text"); } return 1; } Ukázka [attachment=0]sa-mp-024.png[/attachment] Link to comment Share on other sites More sharing options...
-other-Mizi_CZ 0 Odesláno: 9. Srpen, 2008 Share Odesláno: 9. Srpen, 2008 Good job to se mi hodí Link to comment Share on other sites More sharing options...
Ozi 1 Odesláno: 14. Srpen, 2008 Share Odesláno: 14. Srpen, 2008 Pro lamy co neuměji s pawnem: Bude vám to možná psat warning tak jednoduše smažte return a pofachá to, to znamená pokud se odkazuje v puplicu na return (prosím pls o napsaní jestli jsem někde udělal chybu rád se o tom dozvím děkuji) Link to comment Share on other sites More sharing options...
break 0 Odesláno: 16. Srpen, 2008 Share Odesláno: 16. Srpen, 2008 Chytrak to si delal ty ? nechci te z niceho podezrivat to si nemysli ale je to dobre to by mne vubec nenapadlo Link to comment Share on other sites More sharing options...
break 0 Odesláno: 16. Srpen, 2008 Share Odesláno: 16. Srpen, 2008 C:\DOCUME~1\PROGAM~1\Plocha\pawno\pawno\CZECHI~1.PWN(136) : warning 225: unreachable code a máš tu jeden warning ti to udelalo kdyz se to tam vlozil tak to nak oprav ja nevim jak to mam opravit :-D Link to comment Share on other sites More sharing options...
break 0 Odesláno: 16. Srpen, 2008 Share Odesláno: 16. Srpen, 2008 tak sory warning tu nemas ten sem si opravil :-D ale jinak nefunguje to Link to comment Share on other sites More sharing options...
Ozi 1 Odesláno: 16. Srpen, 2008 Share Odesláno: 16. Srpen, 2008 lol break to jsem psal ze to je ten return a zda se mi ze to funguje jen na nekterych autech :shock: Link to comment Share on other sites More sharing options...
chytrak 14 Odesláno: 17. Srpen, 2008 Author Share Odesláno: 17. Srpen, 2008 Chytrak to si delal ty ? nechci te z niceho podezrivat to si nemysli ale je to dobre to by mne vubec nenapadlo Jeden radek ? ne to jsem skopcil z includu ale pssst tam sou ty funkce napsany vis ale nikomu to nerikej to je tajmestvi Link to comment Share on other sites More sharing options...
break 0 Odesláno: 17. Srpen, 2008 Share Odesláno: 17. Srpen, 2008 aha tak to jo ja myslel ze to funguje na vsech a jinak eroro sem opravil ja sem to mnel nahore a ne dole proto mi to hazelo eror return takova lama nejsem to vim ale dolu mne to nenapadlo dat Link to comment Share on other sites More sharing options...
Guest Gormy Odesláno: 19. Srpen, 2008 Share Odesláno: 19. Srpen, 2008 Je to super ale lidi pls povezte jestly newite aby u toho auta aby ten clovek kdyz se pripoji aby mu to pridelilo cislo SPZ a a treba pdole meho bych to chtel takhle AP-01 a takhle a hrac s id 2 by mel spz AP-02 jak to mam udelat ? //EDIT :Funguje to suprove ta SPZ ale mam problem u policejniho jeepu mi to pise tu moji spz jen vepredu ale vzadu mi to pisu tu starou.PL Poradte Link to comment Share on other sites More sharing options...
Guest Kačer Odesláno: 19. Srpen, 2008 Share Odesláno: 19. Srpen, 2008 ja jsem to hodil do modu a každy auto se mě tam oběvilo 4krát ale jinak to funguje Link to comment Share on other sites More sharing options...
Guest Gormy Odesláno: 19. Srpen, 2008 Share Odesláno: 19. Srpen, 2008 J Poradite pls s itm abych to mel na obou stranach ? a jestly nekdo umi aby u kazde zancky auta byl jiny kod ? Link to comment Share on other sites More sharing options...
chytrak 14 Odesláno: 19. Srpen, 2008 Author Share Odesláno: 19. Srpen, 2008 1. Nejde to na obou 2. NESPAMUJ MI PRES SZ ABYCH TI ODPOVEDEL 3. asi tak ze zmenis umisteni tohodle kodu, tendle nastavim tudle spz autum ktery se nacetly v ongamemodeinit.. Link to comment Share on other sites More sharing options...
Guest Gormy Odesláno: 19. Srpen, 2008 Share Odesláno: 19. Srpen, 2008 Tak dobra omlouvam se ti za tu SZ a trochu sem nepochopil to za 3. //EDIT: Nebo uz mozna pobiram Takze chces rict ze to mam presunout zespoda nad auta ? Link to comment Share on other sites More sharing options...
chytrak 14 Odesláno: 19. Srpen, 2008 Author Share Odesláno: 19. Srpen, 2008 pane boze pri pawnu kdyz uz ho neumis zapni alespon mozek tim ze to posunujes definici se stane co? niic :twisted: new RandomSPZ[5][] = { {"Auto"}, {"Test"}, {"rofl"}, {"Random"}, {"Jejda"} }; Dolu do ongamemodeinit for(new i = 0; i < MAX_VEHICLES; i++) { SetVehicleNumberPlate(i, RandomSPZ[random(sizeof(RandomSPZ))]); } Link to comment Share on other sites More sharing options...
Guest Gormy Odesláno: 19. Srpen, 2008 Share Odesláno: 19. Srpen, 2008 Moc ti Děkuju Link to comment Share on other sites More sharing options...
chytrak 14 Odesláno: 19. Srpen, 2008 Author Share Odesláno: 19. Srpen, 2008 neni problem se zeptat, ale pro cele forum jo :rap: :rap: Link to comment Share on other sites More sharing options...
Guest Gormy Odesláno: 19. Srpen, 2008 Share Odesláno: 19. Srpen, 2008 A jeste sry ze te otravuju ale mam 85 aut ve hre takze kdyz si udelam rozhrani random 85 udelam kazde cislo jine tak jak udelam aby treba dve auta nemeli stejnou SPZ ? Link to comment Share on other sites More sharing options...
chytrak 14 Odesláno: 19. Srpen, 2008 Author Share Odesláno: 19. Srpen, 2008 A nechces aby byla spz treba "SPZ:ID" hrace ktery v nem zrovna sedi? :rap: Link to comment Share on other sites More sharing options...
Guest Gormy Odesláno: 19. Srpen, 2008 Share Odesláno: 19. Srpen, 2008 Helec to by bylo tky dobry.a to by se jako kdzy by tam hrac sednul tak by se ta spz zmenila ? Jako ze by tam byl hrac s id 1 tka by byla spz AP-01 a pak by si tam sedl jiny hrac treba s id 5 a spz by se zmenila na AP-05 ?? to by bylo ne good ale Super Link to comment Share on other sites More sharing options...
chytrak 14 Odesláno: 19. Srpen, 2008 Author Share Odesláno: 19. Srpen, 2008 No teoreticky by to slo takto new string[256], vehicle = GetPlayerVehicleID(playerid); format(string, sizeof(string), "AP-0%d", playerid); SetVehicleNumberPlate(vehicle, string); SetVehicleToRespawn(vehicle); SendClientMessage(playerid, "Auto je oficialne tvoje"); ale auto se respawne ... s novou spz kdyz do nej hrac nastoupi musi to jit vyresit jinak Link to comment Share on other sites More sharing options...
Guest Gormy Odesláno: 20. Srpen, 2008 Share Odesláno: 20. Srpen, 2008 Aha a netušíš jak ?? Link to comment Share on other sites More sharing options...
Guest Colin Odesláno: 31. Říjen, 2008 Share Odesláno: 31. Říjen, 2008 No teoreticky by to slo takto new string[256], vehicle = GetPlayerVehicleID(playerid); format(string, sizeof(string), "AP-0%d", playerid); SetVehicleNumberPlate(vehicle, string); SetVehicleToRespawn(vehicle); SendClientMessage(playerid, "Auto je oficialne tvoje"); ale auto se respawne ... s novou spz kdyz do nej hrac nastoupi musi to jit vyresit jinak Do jakeho publicu tohle mám vložit pls Link to comment Share on other sites More sharing options...
FreeWall 3 Odesláno: 1. Listopad, 2008 Share Odesláno: 1. Listopad, 2008 do jakýho chceš, nebo i do příkazu .. Link to comment Share on other sites More sharing options...
fugasjunior 1 Odesláno: 25. Srpen, 2009 Share Odesláno: 25. Srpen, 2009 Škoda že nejde na všechny auta Link to comment Share on other sites More sharing options...
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