Guest Odesláno: 12. Červen, 2011 Share Odesláno: 12. Červen, 2011 ? čo s ""gl_realtime"" ? Link to comment Share on other sites More sharing options...
Guest Odesláno: 12. Červen, 2011 Share Odesláno: 12. Červen, 2011 GL_REALTIME je úplně vpravo nahořee jako "hodiny"... některé infoboxy se mi ukazují dole uprostřeed a zrovna ten v tom scriptu se ukazuje úplně nahoře a zasahujee do gl_realtime Link to comment Share on other sites More sharing options...
-GSG-Nuke 1 Odesláno: 12. Červen, 2011 Share Odesláno: 12. Červen, 2011 jj mě zase ale dole v levo pod mapkou přitom tam žádný TD nemám nic Link to comment Share on other sites More sharing options...
Guest Odesláno: 12. Červen, 2011 Share Odesláno: 12. Červen, 2011 nemáte rovnaké názvy premenných ? Link to comment Share on other sites More sharing options...
GAMELASTERツ 73 Odesláno: 30. Červenec, 2011 Share Odesláno: 30. Červenec, 2011 Hmm, nejako mi to nejede . Dam si to do prikazu a nic. Pouzivam co je na ukazku. Link to comment Share on other sites More sharing options...
GAMELASTERツ 73 Odesláno: 30. Červenec, 2011 Share Odesláno: 30. Červenec, 2011 Hmm, nejako mi to nejede . Dam si to do prikazu a nic. Pouzivam co je na ukazku. Link to comment Share on other sites More sharing options...
Guest Odesláno: 30. Červenec, 2011 Share Odesláno: 30. Červenec, 2011 Dúfam že v tvojom testovaciom scripte máš OnInfoBoxGameModeInit(); v public OnGameModeInit... lebo ak nie tak sa nevytvorí ten textdraw ktorý chceš potom zobraziť (ten stock obsahuje vytvorenie textdrawu...) tu je ukážkový GM... #include #include "RWInfoBox" main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); OnInfoBoxGameModeInit(); // Dúfam že toto tu máš, toto vytvorí ten textdraw ktorý potom chceme zobraziť... return 1; } public OnGameModeExit() { 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 OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); return 1; } return 0; } Link to comment Share on other sites More sharing options...
Guest Odesláno: 30. Červenec, 2011 Share Odesláno: 30. Červenec, 2011 Dúfam že v tvojom testovaciom scripte máš OnInfoBoxGameModeInit(); v public OnGameModeInit... lebo ak nie tak sa nevytvorí ten textdraw ktorý chceš potom zobraziť (ten stock obsahuje vytvorenie textdrawu...) tu je ukážkový GM... #include #include "RWInfoBox" main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); OnInfoBoxGameModeInit(); // Dúfam že toto tu máš, toto vytvorí ten textdraw ktorý potom chceme zobraziť... return 1; } public OnGameModeExit() { 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 OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); return 1; } return 0; } Link to comment Share on other sites More sharing options...
GAMELASTERツ 73 Odesláno: 30. Červenec, 2011 Share Odesláno: 30. Červenec, 2011 Dúfam že v tvojom testovaciom scripte máš OnInfoBoxGameModeInit(); v public OnGameModeInit... lebo ak nie tak sa nevytvorí ten textdraw ktorý chceš potom zobraziť (ten stock obsahuje vytvorenie textdrawu...) tu je ukážkový GM... #include #include "RWInfoBox" main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); OnInfoBoxGameModeInit(); // Dúfam že toto tu máš, toto vytvorí ten textdraw ktorý potom chceme zobraziť... return 1; } public OnGameModeExit() { 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 OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); return 1; } return 0; } No, praveze tohle nemam, dikes Link to comment Share on other sites More sharing options...
GAMELASTERツ 73 Odesláno: 30. Červenec, 2011 Share Odesláno: 30. Červenec, 2011 Dúfam že v tvojom testovaciom scripte máš OnInfoBoxGameModeInit(); v public OnGameModeInit... lebo ak nie tak sa nevytvorí ten textdraw ktorý chceš potom zobraziť (ten stock obsahuje vytvorenie textdrawu...) tu je ukážkový GM... #include #include "RWInfoBox" main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("Blank Script"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); OnInfoBoxGameModeInit(); // Dúfam že toto tu máš, toto vytvorí ten textdraw ktorý potom chceme zobraziť... return 1; } public OnGameModeExit() { 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 OnPlayerConnect(playerid) { return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/mycommand", cmdtext, true, 10) == 0) { ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowInfoBoxForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~1"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~2"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~3"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~4"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~5"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~6"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~7"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~8"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~9"); ShowTitleForPlayer(playerid,5,"~r~Info~g~Box~w~ test by ~b~RW ~w~TEAM ~r~10"); return 1; } return 0; } No, praveze tohle nemam, dikes Link to comment Share on other sites More sharing options...
TheRohlikar 21 Odesláno: 22. Únor, 2012 Share Odesláno: 22. Únor, 2012 Omlouvam se, ze oteviram stare tema, ale nevim, jak mam zmenit ten nadpis "ROYAL"?? Link to comment Share on other sites More sharing options...
Guest Odesláno: 22. Únor, 2012 Share Odesláno: 22. Únor, 2012 http://pastebin.com/peqTc9F4 riadok 38 InfoBox1 = TextDrawCreate(44.000000, 119.000000, "NAZOV MODU"); Link to comment Share on other sites More sharing options...
TheRohlikar 21 Odesláno: 23. Únor, 2012 Share Odesláno: 23. Únor, 2012 http://pastebin.com/peqTc9F4 riadok 38InfoBox1 = TextDrawCreate(44.000000, 119.000000, "NAZOV MODU"); Diky moc a jinak moc pekne 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