-
nekem baj van a /cmds parancsok mutatasaval.Lenagyarositottam es valamiert a 3lvl parancsokig mutatja a parancsokat.A tobbi (4,5 lvl) parancsot nem mutatja de meg a harmast semfejezi be teljesen.Aki tud segiteni azt megkerem hogy irjon.
A valaszokert koszonet elore is.
-
Mert csak 3lvl -ig van bele írva
-
5 lvl-ig van beleirva.
-
Egy sorba nem fér ki az egész. Írd 2 SendClientMessage-el.
-
Es azt hogy kell ugy irni ?
-
SendClientMessage(playerid,COLOR,\"Túl hosszú szöveg\");
helyett:
SendClientMessage(playerid,COLOR,\"Túl hosszú\");
SendClientMessage(playerid,COLOR,\"szöveg\");
-
A szöveg felénél lezárod a SendClientMessage-t. És kezdesz egy újat. Itt egy példa:
SendClientMessage(playerid, -1, \"Üdv a szerveren\");
-
de itt:
new ACommands[][TCommands] = van.Akkor ezt hogy csinaljam?
-
de itt:
new ACommands[][TCommands] = van.Akkor ezt hogy csinaljam?
PPC-t használsz?
Azért kérdem, mert abba láttam ilyet.
Ha igen akkor a PPC_PlayerCommands cmds parancsnál keresd.
-
COMMAND:cmds(playerid, params[])
{
// Send the command to all admins so they can see it
SendAdminText(playerid, \"/cmds\", params);
// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
CommandList_Create(playerid); // Create a list of commands (only the first 4 commands) and show the dialog
}
else
return 0;
// Let the server know that this was a valid command
return 1;
}
Es itt?Mit kell javitani?
-
COMMAND:cmds(playerid, params[])
{
// Send the command to all admins so they can see it
SendAdminText(playerid, \"/cmds\", params);
// Check if the player has logged in
if (APlayerData[playerid][LoggedIn] == true)
{
SendClientMessage(playerid, -1, \"Hosszú szöveg\");
SendClientMessage(playerid, -1, \"Szöveg\");
}
else
return 0;
// Let the server know that this was a valid command
return 1;
}
Erre fog dobni egy errort vagy warningot.Keresd meg majd, hogy hol és ott is töröld ki ami ehhez tartozik.
-
es a szoveg helyere mit tehuek?
Dupla hozzászólás automatikusan összefûzve. ( 2013. április 20. - 20:48:44 )
de igy nem jo mert nem tablazatba irja ki ahem a parbeszedhez teszi.
mugy nem errorolt
-
Neked Dialogba kell?
Akkor ami az eredeti volt azt tedd vissza és a PPC_Dialogsba keresd meg a stats dialogot és a DIALOG_LIST-et írd át DIALOG_MSGBOX-ra.Ha még úgyis kevés lenne akkor csinálj egy /cmds2 parancsot az 1. mintájára.