Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <zcmd>
- CMD:help(playerid) {
- new output[2048], line[512];
- output[0] = EOS;
- new File:tmp=fopen("commands/help.txt");
- if(tmp) {
- while(fread(tmp, line, 512)) strins(output, line, strlen(output), sizeof(output));
- fclose(tmp);
- }
- ShowPlayerDialog(playerid, DIALOG_NONE, DIALOG_STYLE_MSGBOX, "{FFFFFF}Help", output, "Ok", "[x]");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement