17.12.2013, 02:19
Hello, I need help, I have a minor bug in this command. When you call me to give server "SERVER: Unknown command" doing it for about 2 hours now but I can not think where the error is, so I turn here.
Can anyone advise me? thank you
(Use ****** translate, my english not very good, thank you for your understanding)
(JailN = nickname | Jail = number)
Addendum: This command works
(SkillN = nickname | Skill = number)
Can anyone advise me? thank you
(Use ****** translate, my english not very good, thank you for your understanding)
Код:
if(strcmp(cmdtext, "/3", true) == 0) { new Top1_Text2[200]; new hsway[64]="HighScore.dudb.sav"; format(Top1_Text2,200, "Top Jailed: %s (%d)", dini_Get(hsway,"JailN"), dini_Int(hsway,"Jail")); ShowPlayerDialog(playerid,Dialog_Record2,DIALOG_STYLE_MSGBOX,"Top Jailed",Top1_Text2,"Next","Close"); return 1; }
Addendum: This command works
Код:
if(strcmp(cmdtext, "/1", true) == 0) { new Top1_Text2[200]; new hsway[64]="HighScore.dudb.sav"; format(Top1_Text2,200, "Top Skill: %s (%f)",dini_Get(hsway,"SkillN"), dini_Int(hsway,"Skill")); ShowPlayerDialog(playerid,Dialog_Record0,DIALOG_STYLE_MSGBOX,"Top Skill",Top1_Text2,"Next","Close"); return 1; }