Guest Airsoft3r Odesláno: 1. Březen, 2010 Share Odesláno: 1. Březen, 2010 To poprve, a je tam hore napisane ze PRIDAVAM SEM TUT Z PAWNOBOXU !!!!!! nenapisal som tam seba Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 1. Březen, 2010 Share Odesláno: 1. Březen, 2010 Je to tam napisane kokoti! Ze pridavam sem TUT z pawnoboxu slepy kokoti !!!! Zato ty máš zrak jak rys že sis přečetl pravidla o vulgarismu že? Link to comment Share on other sites More sharing options...
Guest Airsoft3r Odesláno: 1. Březen, 2010 Share Odesláno: 1. Březen, 2010 Ano, :-D každy tu hreši .. možem je*at ...kazdy mi tu nadava a pritom tam všetko napisane Link to comment Share on other sites More sharing options...
Guest Frodo Odesláno: 1. Březen, 2010 Share Odesláno: 1. Březen, 2010 Sry za OT ale muzes mi rict jak se dela web pres FTP?? Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 (393) : warning 211: possibly unintended assignment (435) : error 002: only a single statement (or expression) can follow each "case" (435) : error 004: function "OnPlayerExitedMenu" is not implemented (441) : error 030: compound statement not closed at the end of file (started at line 408) a tieto errory a warning co znamenaju ? Link to comment Share on other sites More sharing options...
DooM 93 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 nebylo toto na pawnoboxu od mavericka? Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 (393) : warning 211: possibly unintended assignment(435) : error 002: only a single statement (or expression) can follow each "case" (435) : error 004: function "OnPlayerExitedMenu" is not implemented (441) : error 030: compound statement not closed at the end of file (started at line 408) a tieto errory a warning co znamenaju ? někde ti chybí } pokud sem nehodíš řádky tak si to budeš muset najít sám Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == sbs) //podmínka, když stoupne na pickup { 393 : if(iPlayerRole[playerid] = 1) //podmínka, která zjistí, jestli je dealer { SendClientMessage(playerid,0xFFFFFFFF, "Už si SBS!"); //pokud je dealer tak se odešlě toto }else{ //pokud není podmínka splněna ShowMenuForPlayer(sbsmenu, playerid); //ukáže menu } } return 1; } 435: public OnPlayerExitedMenu(playerid) { return 1; } a 441 tu ani nemam moj mod ma 440 riadkov .. prosim o pomoc Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == sbs) //podmínka, když stoupne na pickup { 393 : if(iPlayerRole[playerid] == 1) //podmínka, která zjistí, jestli je dealer { SendClientMessage(playerid,0xFFFFFFFF, "Už si SBS!"); //pokud je dealer tak se odešlě toto }else{ //pokud není podmínka splněna ShowMenuForPlayer(sbsmenu, playerid); //ukáže menu } } return 1; } a ukaž public nad OnPlayerExitedMenu Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 toto mam nad OnPlayerExitedMenu public OnPlayerSelectedMenuRow(playerid, row) { new string[256]; new Menu:Current = GetPlayerMenu(playerid); if (Current == sbsmenu ) { switch(row) { case 0:{ if(iPlayerRole[playerid]!=0){ SendClientMessage(playerid,0xFFFFFFFF,"[!] si už zamestnný!Napíš /vypoved pre vyhodenie z páce."); return 1; } new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, MAX_PLAYER_NAME); format(string, sizeof(string), "[!] Hráč %s sa zamestnal u SBS", pname); //format ktery hrac SendClientMessageToAll(0xFFFFFFFF, string); //posli vsem hracum printf(string); //dej do logu ResetPlayerWeapons(playerid); //restartuj hracovi zbrane iPlayerRole[playerid] = 1; //promenna na povolani cislo 1 SetPlayerSkin(playerid, 163); //nastav hracovi skin SetPlayerSkin(playerid, 164); //nastav hracovi skin SetPlayerSkin(playerid, 165); //nastav hracovi skin SetPlayerSkin(playerid, 166); //nastav hracovi skin SetPlayerColor(playerid,0xAFAFAFAA); //nastav hracovi barvu SetPlayerPos(playerid,2316.8965,-65.5044,26.4844); //spawn hrace GivePlayerWeapon(playerid, 32, 100); GivePlayerWeapon(playerid,30,500); GivePlayerWeapon(playerid, 23, 500); return 1; } Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 public OnPlayerSelectedMenuRow(playerid, row) { new string[256]; new Menu:Current = GetPlayerMenu(playerid); if (Current == sbsmenu ) { switch(row) { case 0:{ if(iPlayerRole[playerid]!=0){ SendClientMessage(playerid,0xFFFFFFFF,"[!] si už zamestnný!Napíš /vypoved pre vyhodenie z páce."); return 1; } else { new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid, pname, MAX_PLAYER_NAME); format(string, sizeof(string), "[!] Hráč %s sa zamestnal u SBS", pname); //format ktery hrac SendClientMessageToAll(0xFFFFFFFF, string); //posli vsem hracum printf(string); //dej do logu ResetPlayerWeapons(playerid); //restartuj hracovi zbrane iPlayerRole[playerid] = 1; //promenna na povolani cislo 1 SetPlayerSkin(playerid, 163); //nastav hracovi skin SetPlayerSkin(playerid, 164); //nastav hracovi skin SetPlayerSkin(playerid, 165); //nastav hracovi skin SetPlayerSkin(playerid, 166); //nastav hracovi skin SetPlayerColor(playerid,0xAFAFAFAA); //nastav hracovi barvu SetPlayerPos(playerid,2316.8965,-65.5044,26.4844); //spawn hrace GivePlayerWeapon(playerid, 32, 100); GivePlayerWeapon(playerid,30,500); GivePlayerWeapon(playerid, 23, 500); } } } } return 1; } máš to i bareveně j a co znamená toto? SetPlayerSkin(playerid, 163); //nastav hracovi skin SetPlayerSkin(playerid, 164); //nastav hracovi skin SetPlayerSkin(playerid, 165); //nastav hracovi skin SetPlayerSkin(playerid, 166); //nastav hracovi skin Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 diky moc kamo a sry myslel som si ze tie skiny sa budu striedat ale asi nie ze ? Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 diky moc kamo a sry myslel som si ze tie skiny sa budu striedat ale asi nie ze ? místo těch 4 řádků dej: new ranskin=random(4); switch(ranskin) { case 0: SetPlayerSkin(playerid, 163); //nastav hracovi skin case 1: SetPlayerSkin(playerid, 164); //nastav hracovi skin case 2: SetPlayerSkin(playerid, 165); //nastav hracovi skin case 3: SetPlayerSkin(playerid, 166); //nastav hracovi skin } Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 mam este jeden problem vsetko mam bez chyby idem to skusit a mne neukazuje pickup preco ? Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 mam este jeden problem vsetko mam bez chyby idem to skusit a mne neukazuje pickup preco ? ukaž řádek kde máš CreatePickup Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 public OnGameModeInit() { SetGameModeText("xXx");//názov módu sbs = CreatePickup(1172,1,115,2262.0220,2036.2920,10); a hore mam new sbs; Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 sbs = CreatePickup(1172,1,115,2262.0220,2036.2920,0); *Virtual World //pokud to chceš pro všechny VW tak tam dej -1 Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 skusil som a stale mi ho to neukazuje Link to comment Share on other sites More sharing options...
stavebnice 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 PLs můžete mi někdo helpnout? nwm co s errorama 001 : error 001: expected token: "{", but found "new" : error 001: expected token: ";", but found "-identifier-" Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 PLs můžete mi někdo helpnout? nwm co s errorama 001: error 001: expected token: "{", but found "new" : error 001: expected token: ";", but found "-identifier-" dej řádky skusil som a stale mi ho to neukazuje souřadnice máš správný? Link to comment Share on other sites More sharing options...
stavebnice 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 : error 001: expected token: "{", but found "new" řádek:new Spawned [MAX_PLAYERS]; : error 001: expected token: ";", but found "-identifier-" řádek: Spawned playerid = 0; Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 editni to a přidej tam u obou řádek nad tím Link to comment Share on other sites More sharing options...
stavebnice 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 (287) : error 001: expected token: "{", but found "new" new news[][] = new Spawned [MAX_PLAYERS]; 2 řádky volný podtim .............................................................................................................................. (1338) : error 001: expected token: ";", but found "-identifier-" public OnPlayerDeath(playerid, killerid, reason) { SetPlayerWantedLevel(killerid,GetPlayerWantedLevel(killerid)+2); Spawned playerid = 0;// řádek 1338 if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); } else SendDeathMessage(killerid,playerid,reason); Link to comment Share on other sites More sharing options...
Petr 44 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 (287) : error 001: expected token: "{", but found "new" new news[][] = //WFT? pokud tohle k ničemu v módu nemáš, tak to smaž, pokud to k něčemu tak napiš k čemu new Spawned[MAX_PLAYERS]; 2 řádky volný podtim .............................................................................................................................. (1338) : error 001: expected token: ";", but found "-identifier-" public OnPlayerDeath(playerid, killerid, reason) { SetPlayerWantedLevel(killerid,GetPlayerWantedLevel(killerid)+2); Spawned[playerid] = 0;// řádek 1338 if(killerid == INVALID_PLAYER_ID) { SendDeathMessage(INVALID_PLAYER_ID,playerid,reason); } else SendDeathMessage(killerid,playerid,reason); a ještě toto: editni to a přidej tam u obou řádek nad tím zbytečný příspěvky toto Link to comment Share on other sites More sharing options...
roland811 0 Odesláno: 4. Prosinec, 2010 Share Odesláno: 4. Prosinec, 2010 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. 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