Guest ykzdominik Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Ahoj lidi, mam problem s infoboxem (http://www.pawno.cz/viewtopic.php?f=22& ... &sk=t&sd=a) Nechapu tu instalaci udela mi to tu nekdo pls??? Link to comment Share on other sites More sharing options...
0 Guest Frodo Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 soubor *.inc das do Pawno/Includes a ve svem modu (v pwn) das pod #include toto #include Link to comment Share on other sites More sharing options...
0 Guest ykzdominik Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Tohle vm ja konkretne nwm co s tymhle : Do OnGameModeInit(); vložte OnInfoBoxInit_Main(); Do OnGameModeExit(); vložte OnInfoBoxExit_Main(); Do OnPlayerConnect(playerid); vložte OnInfoBoxInit_Player(playerid); Do OnPlayerDisconnect(playerid); vložte OnInfoBoxExit_Player(playerid); Link to comment Share on other sites More sharing options...
0 Guest Punkevník Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Tohle vm ja konkretne nwm co s tymhle : Do OnGameModeInit(); vložte OnInfoBoxInit_Main(); Do OnGameModeExit(); vložte OnInfoBoxExit_Main(); Do OnPlayerConnect(playerid); vložte OnInfoBoxInit_Player(playerid); Do OnPlayerDisconnect(playerid); vložte OnInfoBoxExit_Player(playerid); Urob to čo je napisane v mode si daj do public Ongamemodeinit OnInfoBoxInit_Main(); Do OnGameModeExit(); vložte OnInfoBoxExit_Main(); Do OnPlayerConnect(playerid); vložte OnInfoBoxInit_Player(playerid); Do OnPlayerDisconnect(playerid); vložte OnInfoBoxExit_Player(playerid); GL Styl3r Link to comment Share on other sites More sharing options...
0 Guest Frodo Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Styl3r - "lol" Si napsal presne to samy co on a kdyz to nechape tak to si mu pomohl teda public OnGameModeInit() { OnInfoBoxInit_Main(); return 1; } Atd. Link to comment Share on other sites More sharing options...
0 Guest ykzdominik Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 aha thx zkusim -- ned 26. zář 2010 17:28:34 -- Sakra Mam to takhle a 2 errory : #include #include // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnGameModeInit() { OnInfoBoxInit_Main(); return 1; } public OnGameModeExit() { OnInfoBoxInit_Main(); return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnPlayerConnect(playerid) { OnInfoBoxInit_Player(playerid); return 1; } public OnPlayerDisconnect(playerid, reason) { OnInfoBoxExit_Player(playerid); return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } C:\Program Files\Panely na plochu\Plochy\Plocha 1\pawno 0.3\include\infobox2.0.inc(80) : warning 217: loose indentation C:\Program Files\Panely na plochu\Plochy\Plocha 1\pawno 0.3\include\infobox2.0.inc(96) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. Link to comment Share on other sites More sharing options...
0 Guest Punkevník Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 daj sem riadky v ktorych ti to pise Link to comment Share on other sites More sharing options...
0 Guest Frodo Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Sakra Mam to takhle a 2 errory : C:\Program Files\Panely na plochu\Plochy\Plocha 1\pawno 0.3\include\infobox2.0.inc(80) : warning 217: loose indentation C:\Program Files\Panely na plochu\Plochy\Plocha 1\pawno 0.3\include\infobox2.0.inc(96) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. Znamena to ze nemas odtabovany radky, takze klikni pred tu funkci a zmackni TAB, ono to "poskoci" o par radku a takhle to udelej u tech funkci vsude kdyz to mas v publicu a ten warning zmizi. Link to comment Share on other sites More sharing options...
0 Konvicka 0 Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 #pragma tabsize 0 Link to comment Share on other sites More sharing options...
0 Guest Frodo Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 #pragma tabsize 10 kdyz uz tak #pragma tabsize 0; ne? Link to comment Share on other sites More sharing options...
0 mnagy112 0 Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Sakra Mam to takhle a 2 errory : C:\Program Files\Panely na plochu\Plochy\Plocha 1\pawno 0.3\include\infobox2.0.inc(80) : warning 217: loose indentation C:\Program Files\Panely na plochu\Plochy\Plocha 1\pawno 0.3\include\infobox2.0.inc(96) : warning 217: loose indentation Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings. Znamena to ze nemas odtabovany radky, takze klikni pred tu funkci a zmackni TAB, ono to "poskoci" o par radku a takhle to udelej u tech funkci vsude kdyz to mas v publicu a ten warning zmizi. nestacilo by na zaciatku #pragma tabsize 0 ? Link to comment Share on other sites More sharing options...
0 Konvicka 0 Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Jj sorry ta jednička mě tam nějak skočila jak jsem to zmáčkl tu nulu =))...Už je to opraveno #pragma tabsize 0 Link to comment Share on other sites More sharing options...
0 Guest Frodo Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Stacilo by, ale on to tak udela, bude mit mod na 10% a pak si tu napise help a nebude to mit odtabovany a kdo se v tom ma pak vyznat? Ja mam rad prehledne scripty Link to comment Share on other sites More sharing options...
0 mnagy112 0 Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 Stacilo by, ale on to tak udela, bude mit mod na 10% a pak si tu napise help a nebude to mit odtabovany a kdo se v tom ma pak vyznat? Ja mam rad prehledne scripty nj aj ja to mam pekne odtabovane len ked sem tam zabudnem tak ma to strasne sere ze mi to vyhodi warningy Link to comment Share on other sites More sharing options...
0 Guest ykzdominik Odesláno: 26. Září, 2010 Share Odesláno: 26. Září, 2010 I kdyz tam dam #pragma tabsize 0; Tak to stejne haze warningy udelejte nekdo tenhle tut http://www.pawno.cz/viewtopic.php?f=22& ... &sk=t&sd=a A vlozte ho sem nebo ja uz si stym nwm rady delam to celej den twl Link to comment Share on other sites More sharing options...
0 Guest Punkevník Odesláno: 18. Říjen, 2010 Share Odesláno: 18. Říjen, 2010 toto mám aj ja všetko spravím a napíše mi Loose Indentation presne ale všiminte si kde ten warning pise!!!!!!!! V Include !!!!! a ked v include dam tabsize nejde HELP ... Link to comment Share on other sites More sharing options...
0 MrBeNy 0 Odesláno: 19. Říjen, 2010 Share Odesláno: 19. Říjen, 2010 Nevim jestly vam to doslo ale #pragma tabsize 0 Mate dat do toho includu ... Link to comment Share on other sites More sharing options...
0 Guest Punkevník Odesláno: 19. Říjen, 2010 Share Odesláno: 19. Říjen, 2010 my už sme nato prišli Link to comment Share on other sites More sharing options...
Dotaz
Guest ykzdominik
Ahoj lidi, mam problem s infoboxem (http://www.pawno.cz/viewtopic.php?f=22& ... &sk=t&sd=a)
Nechapu tu instalaci udela mi to tu nekdo pls???
Link to comment
Share on other sites
17 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