roland811 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 pajero4x4 zrejme si poplietol premenu salaking mas 2 krat nadefinovane print a ongamemodeinit staci vymazat to druhe z kazdeho Link to comment Share on other sites More sharing options...
iFailGamer 25 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 j diki.. Pls a ešte: C:\Documents and Settings\user\Desktop\GM.pwn(69) : warning 213: tag mismatch C:\Documents and Settings\user\Desktop\GM.pwn(243) : warning 215: expression has no effect Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. Riadok: 69: pickup = CreatePickup(0,-2023.0283,-95.8684,35.1641,132.4647);//Zadej ID A souradnice kde se objevi pickup a s jakou ikonou (nej je 1581) 243 Ridicak[playerid] == 1; Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 69: zmen prve cislo ktore je 0 zmen ho na 1581 246: ridicak[playerid] = 1; Link to comment Share on other sites More sharing options...
iFailGamer 25 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 A teraz toto: C:\Documents and Settings\user\Desktop\GM.pwn(244) : warning 213: tag mismatch C:\Documents and Settings\user\Desktop\GM.pwn(288) : error 004: function "OnPlayerSaveAcount" is not implemented C:\Documents and Settings\user\Desktop\GM.pwn(321) : error 017: undefined symbol "dcmd_afk" C:\Documents and Settings\user\Desktop\GM.pwn(418) : error 017: undefined symbol "ridicak" C:\Documents and Settings\user\Desktop\GM.pwn(418) : warning 215: expression has no effect C:\Documents and Settings\user\Desktop\GM.pwn(418) : error 001: expected token: ";", but found "]" C:\Documents and Settings\user\Desktop\GM.pwn(418) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\Desktop\GM.pwn(418) : fatal error 107: too many error messages on one line -- sob 25. pro 2010 22:26:17 -- Cafte prosím pomoc C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 037: invalid string (possibly non-terminated string) C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 017: undefined symbol "letisko" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : fatal error 107: too many error messages on one line RIADOK SendClientMessage(playerid,COLOR_RED,"Warpy: /letisko,/letiskosf,/letiskolv,/letiskols,/veza,/wjzpos,/tuning1,/tuning2,/dmzone2, Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 25. Prosinec, 2010 Share Odesláno: 25. Prosinec, 2010 Cawte helfnite plss "help" "help" "help" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 037: invalid string (possibly non-terminated string) C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 017: undefined symbol "letisko" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : fatal error 107: too many error messages on one line SendClientMessage(playerid,COLOR_RED,"Warpy: /letisko,/letiskosf,/letiskolv,/letiskols,/veza,/wjzpos,/tuning1,/tuning2,/dmzone2, Thank you for your answer ! :zachod: Link to comment Share on other sites More sharing options...
Kuba5 0 Odesláno: 25. Prosinec, 2010 Share Odesláno: 25. Prosinec, 2010 Cawte helfnite plss "help" "help" "help" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 037: invalid string (possibly non-terminated string) C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 017: undefined symbol "letisko" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : fatal error 107: too many error messages on one line SendClientMessage(playerid,COLOR_RED,"Warpy: /letisko,/letiskosf,/letiskolv,/letiskols,/veza,/wjzpos,/tuning1,/tuning2,/dmzone2, Thank you for your answer ! :zachod: SendClientMessage(playerid,COLOR_RED,"Warpy: /letisko,/letiskosf,/letiskolv,/letiskols,/veza,/wjzpos,/tuning1,/tuning2,/dmzone2"); -- sob 25. pro 2010 22:37:06 -- Cawte helfnite plss "help" "help" "help" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 037: invalid string (possibly non-terminated string) C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : error 017: undefined symbol "letisko" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1979) : fatal error 107: too many error messages on one line SendClientMessage(playerid,COLOR_RED,"Warpy: /letisko,/letiskosf,/letiskolv,/letiskols,/veza,/wjzpos,/tuning1,/tuning2,/dmzone2, Thank you for your answer ! :zachod: SendClientMessage(playerid,COLOR_RED,"Warpy: /letisko,/letiskosf,/letiskolv,/letiskols,/veza,/wjzpos,/tuning1,/tuning2,/dmzone2"); Link to comment Share on other sites More sharing options...
iFailGamer 25 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Cafte prosím help ERORY C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : warning 215: expression has no effect C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : error 001: expected token: ";", but found "if" C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : error 029: invalid expression, assumed zero C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1675) : fatal error 107: too many error messages on one line Riadky if (IsPlayerInSphere(playerid, 2194.7400,1994.8100,12.3000,15) == 1) || if (IsPlayerInSphere(playerid, 1682.2600,1441.5000,10.7700,15) == 1) || Link to comment Share on other sites More sharing options...
SweS 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 buď tam nemáš return 1 alebo nemáš to zakončené ; Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 if(IsPlayerInSphere(playerid, 2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid, 1682.2600,1441.5000,10.7700,15)) Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Nic moc C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1678) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1682) : warning 209: function "dcmd_vlozit" should return a value C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1683) : error 010: invalid function or declaration C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1694) : warning 219: local variable "string" shadows a variable at a preceding level C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1698) : warning 209: function "dcmd_vybrat" should return a value C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1699) : error 010: invalid function or declaration C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1705) : error 003: declaration of a local variable must appear in a compound block C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1705) : error 032: array index out of bounds (variable "string") C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1705) : warning 215: expression has no effect C:\Users\User2\Desktop\pawno2\include\GAM1.pwn(1709) : error 010: invalid function or declaration dcmd_vlozit(playerid, params[]) { if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15)|| IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15)) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /ulozit [Eástka]"); new castka2 = strval(params); if(castka2 > GetPlayerMoney(playerid)) return SendClientMessage(playerid, COLOR_RED, "Špatná eástka!"); if(castka2 <= GetPlayerMoney(playerid)){ bank[playerid] += castka2; GivePlayerMoney(playerid, -castka2); new string[256]; format(string, sizeof(string), "Uložil jsi: %d, zustatek na úetu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } dcmd_vybrat(playerid, params[]) { if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15)|| IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15)) if(!strlen(params)) return SendClientMessage(playerid, COLOR_YELLOW, "[NAPIŠ]: /vybrat [Eástka]"); new castka2 = strval(params); if(castka2 > bank[playerid]) return SendClientMessage(playerid, COLOR_RED, "Špatná eástka!"); if(castka2 <= bank[playerid]){ bank[playerid] -= castka2; GivePlayerMoney(playerid, castka2); new string[256]; format(string, sizeof(string), "Vybral jsi: %d, zustatek na úetu: %d.", castka2, bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } } return true; } dcmd_stav(playerid, params[]) { #pragma unused params if(IsPlayerInSphere(playerid,2194.7400,1994.8100,12.3000,15)|| IsPlayerInSphere(playerid,1682.2600,1441.5000,10.7700,15)|| IsPlayerInSphere(playerid,-1967.9700,308.7800,35.1700,15)) new string[256]; format(string, sizeof(string), "Zustatek na vašem úetu einí: %d.", bank[playerid]); SendClientMessage(playerid, COLOR_YELLOW, string); } return true; } Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 preco mam taky pocit ze to tu mas 2x ??? Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Co 2x ? Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Co 2x ? tie erory mas to tu a aj tu viewtopic.php?f=8&t=91&p=169617#p169617 = SPAM = BAN Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Jasan BAN :: "lol" "lol" Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Jasan BAN :: "lol" "lol" take su pravidla Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Pridal som si tu vylepsenu autoskolu s vodicakom A,B,C,D no len ked dam F5 vyhodi ze prestalo pracovat a ze skoncit alebo vyhl.riesenie ! Bozeee helppp "help" "help" "help" "help" "help" Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 Pridal som si tu vylepsenu autoskolu s vodicakom A,B,C,D no len ked dam F5 vyhodi ze prestalo pracovat a ze skoncit alebo vyhl.riesenie ! Bozeee helppp "help" "help" "help" "help" "help" možná by se hodilo, aby jsi sem dal řádky tvé vylepšené autoškoly Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 new vodicakA[MAX_PLAYERS]; new vodicakB[MAX_PLAYERS]; new vodicakC[MAX_PLAYERS]; new vodicakD[MAX_PLAYERS]; new Menu:autoskola1; new Menu:autoskola2; new Menu:autoskola3; new Menu:autoskola4; new Menu:autoskola5; new Menu:licA; new Menu:licB; new Menu:licC; new Menu:licD; new Menu:autoA; new Menu:autoB; new Menu:autoC; new Menu:autoD; new Menu:spustit; new carpickup; new robitest[MAX_PLAYERS]; new blista; new buffalo; new merit; new admiral; new sadler; new yosemite; new burrito; new pony; new roadtrain; new linerunner; new coach; new bus; new skola[MAX_PLAYERS]; new chceA[MAX_PLAYERS]; new chceB[MAX_PLAYERS]; new chceC[MAX_PLAYERS]; new chceD[MAX_PLAYERS]; new Text:rada; forward lol(playerid); autoskola1 = CreateMenu("Carschool:",1,50,220,200,200); AddMenuItem(autoskola1,0,"Continue"); AddMenuItem(autoskola1,0,"Exit"); autoskola2 = CreateMenu("Carschool:",1,50,220,200,200); AddMenuItem(autoskola2,0,"Car licence"); AddMenuItem(autoskola2,0,"Back"); autoskola3 = CreateMenu("Carschool:",1,50,220,200,200); AddMenuItem(autoskola3,0,"Licence typ A (pers.vehicle)"); AddMenuItem(autoskola3,0,"Licence typ B (delivery)"); AddMenuItem(autoskola3,0,"Licence typ C (truck)"); AddMenuItem(autoskola3,0,"Licence typ D (bus)"); licA = CreateMenu("Licence A:",1,50,220,200,200); AddMenuItem(licA,0,"Request about test type A 15000$"); AddMenuItem(licA,0,"Back"); licB = CreateMenu("Licence B:",1,50,220,200,200); AddMenuItem(licB,0,"Request about test type B 20000$"); AddMenuItem(licB,0,"Back"); licC = CreateMenu("Licence C:",1,50,220,200,200); AddMenuItem(licC,0,"Request about test type C 25000$"); AddMenuItem(licC,0,"Back"); licD = CreateMenu("Licence D:",1,50,220,200,200); AddMenuItem(licD,0,"Request about test type D 30000$"); AddMenuItem(licD,0,"Back"); autoA = CreateMenu("Vehicle type A:",1,50,220,200,200); AddMenuItem(autoA,0,"Blista Compact"); AddMenuItem(autoA,0,"Buffalo"); AddMenuItem(autoA,0,"Merit"); AddMenuItem(autoA,0,"Admiral"); autoB = CreateMenu("Vehicle type B:",1,50,220,200,200); AddMenuItem(autoB,0,"Sadler"); AddMenuItem(autoB,0,"Yosemite"); AddMenuItem(autoB,0,"Burrito"); AddMenuItem(autoB,0,"Pony"); autoC = CreateMenu("Vehicle type C:",1,50,220,200,200); AddMenuItem(autoC,0,"Road Train"); AddMenuItem(autoC,0,"Linerunner"); autoD = CreateMenu("Vehicle type D:",1,50,220,200,200); AddMenuItem(autoD,0,"Coach"); AddMenuItem(autoD,0,"Bus"); spustit = CreateMenu("Start the test",1,50,220,200,200); AddMenuItem(spustit,0,"START"); rada = TextDrawCreate(610.0, 400.0,"~r~Carschool"); TextDrawFont(rada, 2); TextDrawSetShadow(rada,0); TextDrawSetOutline(rada,1); TextDrawAlignment(rada,3); DestroyMenu(autoskola1); DestroyMenu(autoskola2); DestroyMenu(autoskola3); DestroyMenu(licA); DestroyMenu(licB); DestroyMenu(licC); DestroyMenu(licD); DestroyMenu(autoA); DestroyMenu(autoB); DestroyMenu(autoC); DestroyMenu(autoD); DestroyMenu(spustit); TextDrawDestroy(rada); vodicakA[playerid] = 0; vodicakB[playerid] = 0; vodicakC[playerid] = 0; vodicakD[playerid] = 0; chceA[playerid]=0; chceB[playerid]=0; chceC[playerid]=0; chceD[playerid]=0; if(robitest[playerid]==1) { new vehicleid = GetPlayerVehicleID(playerid); DestroyVehicle(vehicleid); SendClientMessage(playerid, COLOR_GREEN, "[Carschool] Neudilal si test!!"); } switch(skola[playerid]) { case CP1: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,289.8508,57.8454,2.0125,7.0); skola[playerid] = CP2; } case CP2: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,440.6333,170.1332,9.3168,7.0); skola[playerid] = CP3; } case CP3: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,508.3777,219.8676,13.0149,7.0); skola[playerid] = CP4; } case CP4: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,517.4116,161.3043,22.9818,7.0); skola[playerid] = CP5; } case CP5: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,523.6074,65.8000,20.8252,7.0); skola[playerid] = CP6; } case CP6: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,497.8991,50.5069,18.3595,7.0); skola[playerid] = CP7; } case CP7: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,391.6272,-22.4964,3.5606,7.0); skola[playerid] = CP8; } case CP8: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,386.8188,-87.5728,2.3623,7.0); skola[playerid] = CP9; } case CP9: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,336.0539,-91.9505,1.1505,7.0); skola[playerid] = CP10; } case CP10: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,251.7918,-69.1524,1.1736,7.0); skola[playerid] = CP11; } case CP11: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,235.6609,-1.4398,2.0109,7.0); skola[playerid] = CP12; } case CP12: { DisablePlayerCheckpoint(playerid); SetPlayerCheckpoint(playerid,220.1357,24.0421,2.3211,7.0); skola[playerid] = CP13; } case CP13: { DisablePlayerCheckpoint(playerid); RemovePlayerFromVehicle(playerid); SendClientMessage(playerid,COLOR_YELLOW,"[Carschool] You have sucessfully done the test!! Wait for result!!"); new vehicleid = GetPlayerVehicleID(playerid); DestroyVehicle(vehicleid); SetTimerEx("lol",30000,0,"i",playerid); TextDrawHideForPlayer(playerid,rada); } } if(pickupid == carpickup) { ShowMenuForPlayer(autoskola1,playerid); TogglePlayerControllable(playerid,0); } new Menu:Current = GetPlayerMenu(playerid); if(Current == autoskola1) { switch(row) { case 0: { ShowMenuForPlayer(autoskola2,playerid); } case 1: { HideMenuForPlayer(autoskola1,playerid); TogglePlayerControllable(playerid,1); } } } else if(Current == autoskola2) { switch(row) { case 0: { ShowMenuForPlayer(autoskola3,playerid); } case 1: { ShowMenuForPlayer(autoskola1,playerid); } } } else if(Current == autoskola3) { switch(row) { case 0: { ShowMenuForPlayer(licA,playerid); } case 1: { ShowMenuForPlayer(licB,playerid); } case 2: { ShowMenuForPlayer(licC,playerid); } case 3: { ShowMenuForPlayer(licD,playerid); } } } else if(Current == licA) { switch(row) { case 0: { if (GetPlayerMoney(playerid) >= 15000) { GivePlayerMoney(playerid,-15000); ShowMenuForPlayer(autoA,playerid); }else{ TogglePlayerControllable(playerid,1); SendClientMessage(playerid, COLOR_GREEN, "[Carschool] For start the test, you need 15000$!!"); } } case 1: { ShowMenuForPlayer(autoskola3,playerid); } } } else if(Current == licB) { switch(row) { case 0: { if (GetPlayerMoney(playerid) >= 20000) { ShowMenuForPlayer(autoB,playerid); GivePlayerMoney(playerid,-20000); }else{ TogglePlayerControllable(playerid,1); SendClientMessage(playerid, COLOR_GREEN, "[Carschool] For start the test, you need 20000$!!"); } } case 1: { ShowMenuForPlayer(autoskola3,playerid); } } } else if(Current == licC) { switch(row) { case 0: { if (GetPlayerMoney(playerid) >= 25000) { GivePlayerMoney(playerid,-25000); ShowMenuForPlayer(autoC,playerid); }else{ TogglePlayerControllable(playerid,1); SendClientMessage(playerid, COLOR_GREEN, "[Carschool] For start the test, you need 25000$!!"); } } case 1: { ShowMenuForPlayer(autoskola3,playerid); } } } else if(Current == licD) { switch(row) { case 0: { if (GetPlayerMoney(playerid) >= 30000) { ShowMenuForPlayer(autoD,playerid); GivePlayerMoney(playerid,-30000); }else{ TogglePlayerControllable(playerid,1); SendClientMessage(playerid, COLOR_GREEN, "[Carschool] For start the test, you need 30000$!!"); } } case 1: { ShowMenuForPlayer(autoskola3,playerid); } } } //////////////////////////////////////////////////////////////////////////////// //////////////////////////////////AUTA////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////// else if(Current == autoA) { switch(row) { case 0://Blista Compact { blista = CreateVehicle(496,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(blista, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,blista,0); ShowMenuForPlayer(spustit,playerid); chceA[playerid]=1; SetVehicleNumberPlate(blista,"School"); robitest[playerid]=1; } case 1://Buffalo { buffalo = CreateVehicle(402,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(buffalo, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,buffalo,0); ShowMenuForPlayer(spustit,playerid); chceA[playerid]=1; SetVehicleNumberPlate(buffalo,"School"); robitest[playerid]=1; } case 2://Merit { merit = CreateVehicle(551,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(merit, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,merit,0); ShowMenuForPlayer(spustit,playerid); chceA[playerid]=1; SetVehicleNumberPlate(merit,"School"); robitest[playerid]=1; } case 3://Admiral { admiral = CreateVehicle(445,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(admiral, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,admiral,0); ShowMenuForPlayer(spustit,playerid); chceA[playerid]=1; SetVehicleNumberPlate(admiral,"School"); robitest[playerid]=1; } } } else if(Current == autoB) { switch(row) { case 0://Sadler { sadler = CreateVehicle(543,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(sadler, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,sadler,0); ShowMenuForPlayer(spustit,playerid); chceB[playerid]=1; SetVehicleNumberPlate(sadler,"School"); robitest[playerid]=1; } case 1://Yosemite { yosemite = CreateVehicle(554,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(yosemite, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,yosemite,0); ShowMenuForPlayer(spustit,playerid); chceB[playerid]=1; SetVehicleNumberPlate(yosemite,"School"); robitest[playerid]=1; } case 2://Burrito { burrito = CreateVehicle(482,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(burrito, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,burrito,0); ShowMenuForPlayer(spustit,playerid); chceB[playerid]=1; SetVehicleNumberPlate(burrito,"School"); robitest[playerid]=1; } case 3://Pony { pony = CreateVehicle(413,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(pony, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,pony,0); ShowMenuForPlayer(spustit,playerid); chceB[playerid]=1; SetVehicleNumberPlate(pony,"School"); robitest[playerid]=1; } } } else if(Current == autoC) { switch(row) { case 0://RoadTrain { roadtrain = CreateVehicle(515,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(roadtrain, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,roadtrain,0); chceC[playerid]=1; SetVehicleNumberPlate(roadtrain,"School"); robitest[playerid]=1; } case 1://Linerunner { linerunner = CreateVehicle(403,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(linerunner, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,linerunner,0); ShowMenuForPlayer(spustit,playerid); chceC[playerid]=1; SetVehicleNumberPlate(linerunner,"School"); robitest[playerid]=1; } } } else if(Current == autoD) { switch(row) { case 0://Coach { coach = CreateVehicle(437,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(coach, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,coach,0); ShowMenuForPlayer(spustit,playerid); chceD[playerid]=1; SetVehicleNumberPlate(coach,"School"); robitest[playerid]=1; } case 1://Bus { bus = CreateVehicle(431,220.3665,24.7648,2.3215,269.3560,-1,1,1); SetVehicleVirtualWorld(bus, GetPlayerVirtualWorld(playerid)); PutPlayerInVehicle(playerid,bus,0); ShowMenuForPlayer(spustit,playerid); chceD[playerid]=1; SetVehicleNumberPlate(bus,"School"); robitest[playerid]=1; } } } ////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////// else if(Current == spustit) { switch(row) { case 0: { SendClientMessage(playerid,COLOR_HOMER,"[Carschool] Test has started!! Go trought all ChekPoints."); SetPlayerCheckpoint(playerid,235.1227,33.7079,2.1733,7.0); skola[playerid] = CP1; TogglePlayerControllable(playerid,1); for(new n=0; n { if(IsPlayerConnected(n))TextDrawShowForPlayer(n, rada); } } } } else if(Current == autoskola4) { switch(row) { case 0: { ShowMenuForPlayer(autoskola3,playerid); } case 1: { ShowMenuForPlayer(autoskola1,playerid); } } } else if(Current == autoskola5) { switch(row) { case 0: { ShowMenuForPlayer(autoskola3,playerid); } case 1: { ShowMenuForPlayer(autoskola1,playerid); } } } ///////////////////////////AUTOSKOLA//////////////// public lol(playerid) { if(chceA[playerid] == 1) { vodicakA[playerid] = 1; SendClientMessage(playerid, COLOR_ORANGE, "[Carschool] Udilal/a si autoskolu na A(jendicku)!"); } else if(chceB[playerid] == 1) { vodicakB[playerid] = 1; SendClientMessage(playerid, COLOR_ORANGE, "[Carschool] Udilal/a si autoskolu na B!(2)"); } else if(chceC[playerid] == 1) { vodicakC[playerid] = 1; SendClientMessage(playerid, COLOR_ORANGE, "[Carschool] Udilal/a si autoskolu na C!(3)"); } else if(chceD[playerid] == 1) { vodicakD[playerid] = 1; SendClientMessage(playerid, COLOR_ORANGE, "[Carschool] Udilal/a si autoskolu na D!(4)"); } } public OnVehicleDeath(vehicleid, killerid) { if(robitest[killerid]==1) { DestroyVehicle(vehicleid); SendClientMessage(killerid, COLOR_GREEN, "[Carschool] Neudilal si test!!"); } return 1; } -- ned 26. pro 2010 15:48:33 -- Tu je nan TUT http://www.pawno.cz/viewtopic.php?f=8&t=454&hilit=autoskola -- ned 26. pro 2010 21:18:26 -- NIKTO NIC ??? Link to comment Share on other sites More sharing options...
iFailGamer 25 Odesláno: 26. Prosinec, 2010 Share Odesláno: 26. Prosinec, 2010 PROSIM HELP:: C:\Documents and Settings\user\Desktop\Pawno\include\xClient.inc(112) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\user\Desktop\GAM.pwn(2223) : warning 219: local variable "cmd" shadows a variable at a preceding level C:\Documents and Settings\user\Desktop\GAM.pwn(2388) : warning 209: function "OnPlayerSelectedMenuRow" should return a value C:\Documents and Settings\user\Desktop\GAM.pwn(2681) : warning 219: local variable "c" shadows a variable at a preceding level C:\Documents and Settings\user\Desktop\GAM.pwn(2845) : warning 203: symbol is never used: "isblank" RIADKY: 112:#pragma tabsize 0; 2223:public OnRconCommand(cmd[]) 2388: } 2681:for(new c=0;c<45;c++) SendClientMessageToAll(COLOR_WHITE," ");//45=naspamuje 45 řadku bila barva v chatu 2845: NEMAM! -- pon 27. pro 2010 0:20:00 -- PROSIM HELP:: C:\Documents and Settings\user\Desktop\Pawno\include\xClient.inc(112) : warning 219: local variable "string" shadows a variable at a preceding level C:\Documents and Settings\user\Desktop\GAM.pwn(2223) : warning 219: local variable "cmd" shadows a variable at a preceding level C:\Documents and Settings\user\Desktop\GAM.pwn(2388) : warning 209: function "OnPlayerSelectedMenuRow" should return a value C:\Documents and Settings\user\Desktop\GAM.pwn(2681) : warning 219: local variable "c" shadows a variable at a preceding level C:\Documents and Settings\user\Desktop\GAM.pwn(2845) : warning 203: symbol is never used: "isblank" RIADKY: 112:#pragma tabsize 0; 2223:public OnRconCommand(cmd[]) 2388: } 2681:for(new c=0;c<45;c++) SendClientMessageToAll(COLOR_WHITE," ");//45=naspamuje 45 řadku bila barva v chatu 2845: NEMAM! Link to comment Share on other sites More sharing options...
mishsuli 0 Odesláno: 27. Prosinec, 2010 Share Odesláno: 27. Prosinec, 2010 toto je tu asi najuzitocnejsia vec aku som nasiel :-) doteraz som maval zo 10 warnov a uz nemam ziadny ... dakujem ti za tento podrobny navod ... :-) Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 27. Prosinec, 2010 Share Odesláno: 27. Prosinec, 2010 Mam new problem - error 010: invalid function or declaration BankaPick[0] = CreatePickup(1274,2316.0383,-8.1519,26.7422,1); "help" "help" "help" "help" "help" "help" "help" "help" Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 27. Prosinec, 2010 Share Odesláno: 27. Prosinec, 2010 Mam new problem - error 010: invalid function or declaration BankaPick[0] = CreatePickup(1274,2316.0383,-8.1519,26.7422,1); help spam smilies CreatePickup(model, type, Float:X, Float:Y, Float:Z, Virtualworld) Chybí ti TYP pickupu. Na normální je myslím 1 Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 27. Prosinec, 2010 Share Odesláno: 27. Prosinec, 2010 nechyba ti new na ten pickup banky ? //EDIT aha nevsimol som si.. Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 27. Prosinec, 2010 Share Odesláno: 27. Prosinec, 2010 Aj tak to nejde :zachod: EDIT // new mam - new BankaPick[1]; new Banka[MAX_PLAYERS]; Link to comment Share on other sites More sharing options...
Guest [BJ]boban88 Odesláno: 28. Prosinec, 2010 Share Odesláno: 28. Prosinec, 2010 error 010: invalid function or declaration mal si sice chybu aj vtom pickupe ale tento eror znamena ze mas problem z { a } takze sem daj cely public alebo script kde to mas 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