stavebnice 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 JO pěkný dík sme to opravil a další 3 errory u stejnýho řádku (1337) : error 028: invalid subscript (not an array or too many subscripts): "Spawned" (1337) : warning 215: expression has no effect (1337) : error 001: expected token: ";", but found (1337) : error 029: invalid expression, assumed zero ?? Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 new Spawned [MAX_PLAYERS]; //smaž tu mezeru takto: new Spawned[MAX_PLAAYERS]; Super uz mi to ide mal som zle suradnice .. a asi som poplietol ID pickupu lebo sa mi tam toci naraznik od sultanu :D peter velmi dakujem za strpenie somnou. není zač Link to comment Share on other sites More sharing options...
stavebnice 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 jj konečne sem to opravil mod dík ješte my to vyházelo 3 errory ale to sem opravil :-) moc dík -- sob 04. pro 2010 15:58:24 -- Jo můžu se ješte zeptat jak napravim toto? : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg") : warning 235: public function lacks forward declaration (symbol "OnPlayerInfoChange") : warning 204: symbol is assigned a value that is never used: "cara" ? pls NIC uz ok mam to xD Link to comment Share on other sites More sharing options...
Guest scopers Odesláno: 12. Prosinec, 2010 Share Odesláno: 12. Prosinec, 2010 ako si odstranil ten posledny warning pls? ja stym mam stale problem diki za rady Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 pls help robil som si PM a dopadlo to tak ze v onplayercomandtext mi na riadok : dcmd(pm,2, cmdtext); pise toto : (856) : error 012: invalid function call, not a valid address (856) : warning 215: expression has no effect (856) : warning 215: expression has no effect (856) : warning 215: expression has no effect (856) : error 001: expected token: ";", but found ")" (856) : error 029: invalid expression, assumed zero (856) : fatal error 107: too many error messages on one line "help" "help" -- ned 19. pro 2010 10:42:16 -- najde sa niekto kto mi pomoze ? Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 ukaž ještě řádek nad tím Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 nad tím mam akurát /unlock if (strcmp(cmdtext, "/unlock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { new i; for(i=0;i SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0); } SendClientMessage(playerid,0x008000AA,"Vozidlo odomknuté"); } else { SendClientMessage(playerid,0x008000AA,"Niesi vo vozidle!"); } dcmd(pm,2, cmdtext); dcmd(inzerat,7, cmdtext); dcmd(afk,3, cmdtext); dcmd(givecash,8, cmdtext); } return 1; } Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 1) pokud umím počítat máš tam o } víc než má být 2) proč to vkládáš proboha do příkazu /unlock?! Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 if (strcmp(cmdtext, "/unlock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { for(new i;i { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0); } SendClientMessage(playerid,0x008000AA,"Vozidlo odomknuté"); } else { SendClientMessage(playerid,0x008000AA,"Niesi vo vozidle!"); } } dcmd(pm,2, cmdtext); dcmd(inzerat,7, cmdtext); dcmd(afk,3, cmdtext); dcmd(givecash,8, cmdtext); return 1; } Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 mam to teraz takto ale nic mi to nepomohlo if (strcmp(cmdtext, "/unlock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { new i; for(i=0;i SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0); } SendClientMessage(playerid,0x008000AA,"Vozidlo odomknuté"); } else { SendClientMessage(playerid,0x008000AA,"Niesi vo vozidle!"); return 1; } dcmd(pm,2, cmdtext); } dcmd(inzerat,7, cmdtext); } dcmd(afk,3, cmdtext); } dcmd(givecash,8, cmdtext); } return 1; } //edit aj to co si mi poskitol ty David mi nepomohlo Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/unlock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { for(new i;i { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0); } SendClientMessage(playerid,0x008000AA,"Vozidlo odomknuté"); } else { SendClientMessage(playerid,0x008000AA,"Niesi vo vozidle!"); } return 1; } dcmd(pm,2, cmdtext); dcmd(inzerat,7, cmdtext); dcmd(afk,3, cmdtext); dcmd(givecash,8, cmdtext); return 0; } David: musel jsem Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 ":3lgcux3l]public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp(cmdtext, "/unlock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { for(new i;i { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0); } SendClientMessage(playerid,0x008000AA,"Vozidlo odomknuté"); } else { SendClientMessage(playerid,0x008000AA,"Niesi vo vozidle!"); } return 1; } dcmd(pm,2, cmdtext); dcmd(inzerat,7, cmdtext); dcmd(afk,3, cmdtext); dcmd(givecash,8, cmdtext); return 0; } David: musel jsem nejde Link to comment Share on other sites More sharing options...
iFailGamer 25 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 Cafte potrebujem HELP... C:\Documents and Settings\user\Desktop\MOD2.pwn(1266) : warning 203: symbol is never used: "CPP" C:\Documents and Settings\user\Desktop\MOD2.pwn(1266) : warning 203: symbol is never used: "Menu" C:\Documents and Settings\user\Desktop\MOD2.pwn(1266) : warning 203: symbol is never used: "Menu2" C:\Documents and Settings\user\Desktop\MOD2.pwn(1266) : warning 203: symbol is never used: "Menu3" C:\Documents and Settings\user\Desktop\MOD2.pwn(1266) : warning 203: symbol is never used: "Menu4" C:\Documents and Settings\user\Desktop\MOD2.pwn(1266) : warning 203: symbol is never used: "Menu5" C:\Documents and Settings\user\Desktop\MOD2.pwn(1266) : warning 203: symbol is never used: "PlayerInfo" RIADOK: Ten tam ani nemam Tak prosím poradte mi Link to comment Share on other sites More sharing options...
Konvicka 0 Odesláno: 19. Prosinec, 2010 Share Odesláno: 19. Prosinec, 2010 Symbol není nikde použit... Smaž všechno v módu kde máš CPP Menu Menu2 Menu3 Menu4 Menu5 PlayerInfo Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 no co pomoze mi niekto ? Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 Ahojte pomozte niekto .... "help" (234) : warning 213: tag mismatch (245 -- 246) : warning 215: expression has no effect (246) : error 001: expected token: ";", but found "}" 1 Error. public OnPlayerSelectedMenuRow(playerid, row) { if (Current == tvemenu ) { - RIADOK 234 switch(row) { case 0:{ if(GetPlayerMoney(playerid) < 1999) {// nemá peníze SendClientMessage(playerid, COLOR_RED, "[ ! ] Nemáš peníze [ 2000,- ]."); } else if (Ridicak[playerid] == 1) {// ze už má oidieák SendClientMessage(playerid, COLOR_ORANGE, "[ ! ] Už máš oidieák!"); }else{ GivePlayerMoney(playerid,-2000); SendClientMessage(playerid,COLOR_BLUE,"[ ! ] Kúpil si si oidieak!"); Ridicak[playerid] == 1 // dostane ridicak - RIADOK 245 } - RIADOK 246 } } } return 1; } "help" "help" "help" "help" "help" Link to comment Share on other sites More sharing options...
Konvicka 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 public OnPlayerSelectedMenuRow(playerid, row) { new Menu:Current = GetPlayerMenu(playerid); if (Current == tvemenu ) { - RIADOK 234 switch(row) { case 0:{ if(GetPlayerMoney(playerid) < 1999) { SendClientMessage(playerid, COLOR_RED, "[ ! ] Nemáš peníze [ 2000,- ]."); } else if (Ridicak[playerid] == 1) { SendClientMessage(playerid, COLOR_ORANGE, "[ ! ] Už máš oidieák!"); }else{ GivePlayerMoney(playerid,-2000); SendClientMessage(playerid,COLOR_BLUE,"[ ! ] Kúpil si si oidieak!"); Ridicak[playerid] == 1; } } } } return 1; } Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 C:\Users\User2\Desktop\Moje vynalezi\GM.pwn(234) : warning 219: local variable "Current" shadows a variable at a preceding level C:\Users\User2\Desktop\Moje vynalezi\GM.pwn(246) : warning 215: expression has no effect C:\Users\User2\Desktop\Moje vynalezi\GM.pwn(413) : warning 203: symbol is never used: "Current" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Warnings. 234 - new Menu:Current = GetPlayerMenu(playerid); 413 - NEMAM Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 warning 234: local variable "string" shadows a variable at a preceding level = 2x definovany: new string[128]; = mate napr new string hore v mode a potom new string v prikaze = staci jednu definiciu zmazat. warning 413 :mas new ale nemas ho nikde pouzite takze ho vymaz. // a inac mas to na prvej strane Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 ten War. 413 som odstranil ale toto ne : C:\Users\User2\Desktop\Moje vynalezi\GM.pwn(243) : warning 215: expression has no effect 1 Warning. Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 a co to je za riadok ? Link to comment Share on other sites More sharing options...
iFailGamer 25 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 Cafte prosíím HELP "help" ERRORY C:\Documents and Settings\user\Desktop\GGM.pwn(54) : error 001: expected token: ";", but found "{" C:\Documents and Settings\user\Desktop\GGM.pwn(63) : error 021: symbol already defined: "OnGameModeInit" C:\Documents and Settings\user\Desktop\GGM.pwn(637) : error 017: undefined symbol "Menu" C:\Documents and Settings\user\Desktop\GGM.pwn(637) : error 017: undefined symbol "Autoskola" C:\Documents and Settings\user\Desktop\GGM.pwn(637) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\Desktop\GGM.pwn(637) : fatal error 107: too many error messages on one line RIADKY: 54: { 63: { 637:Menu[Autoskola] = CreateMenu("~r~A~w~utoskola", 1, 50.0, 180.0, 200.0, 200.0); Prosím HELP "help" "help" "help" "help" "help" diki Link to comment Share on other sites More sharing options...
Yamaha 0 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 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 salaking hore do newow daj new Menu; new Autoskola; Link to comment Share on other sites More sharing options...
iFailGamer 25 Odesláno: 20. Prosinec, 2010 Share Odesláno: 20. Prosinec, 2010 Teraz ešte toto C:\Documents and Settings\user\Desktop\GGM.pwn(47) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\Desktop\GGM.pwn(58) : error 021: symbol already defined: "print" C:\Documents and Settings\user\Desktop\GGM.pwn(66) : error 021: symbol already defined: "OnGameModeInit" C:\Documents and Settings\user\Desktop\GGM.pwn(66) : error 029: invalid expression, assumed zero C:\Documents and Settings\user\Desktop\GGM.pwn(66 -- 68) : warning 215: expression has no effect C:\Documents and Settings\user\Desktop\GGM.pwn(68) : error 001: expected token: ";", but found "-identifier-" C:\Documents and Settings\user\Desktop\GGM.pwn(68) : fatal error 107: too many error messages on one line 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