if(strcmp(cmd, "/help", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN, "BlackBlood's freeroam: Created by [TLA]BlackBlood.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /genhelp for general help.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /moneyhelp for information about earning money.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /languagehelp for information about languages.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /adminhelp for information about the admins and becoming one.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /cmds for the commands.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /rules for this server's rules.");
return 1;
}
Originally Posted by reallifescript
Does anybody get it? I don't understand his english
|
Originally Posted by BlackBlood1337
Quote:
Look, the command seems to be bugged. When I type something like /cmds, it shows /help. |
if(!strcmp(cmd, "/help", true,5)) { SendClientMessage(playerid, COLOR_GREEN, "BlackBlood's freeroam: Created by [TLA]BlackBlood."); SendClientMessage(playerid, COLOR_YELLOW, "Type: /genhelp for general help."); SendClientMessage(playerid, COLOR_YELLOW, "Type: /moneyhelp for information about earning money."); SendClientMessage(playerid, COLOR_YELLOW, "Type: /languagehelp for information about languages."); SendClientMessage(playerid, COLOR_YELLOW, "Type: /adminhelp for information about the admins and becoming one."); SendClientMessage(playerid, COLOR_YELLOW, "Type: /cmds for the commands."); SendClientMessage(playerid, COLOR_YELLOW, "Type: /rules for this server's rules."); return 1; }
if(strcmp(cmd, "/help", true) == 0) {
SendClientMessage(playerid, COLOR_GREEN, "BlackBlood's freeroam: Created by [TLA]BlackBlood.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /genhelp for general help.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /moneyhelp for information about earning money.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /languagehelp for information about languages.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /adminhelp for information about the admins and becoming one.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /cmds for the commands.");
SendClientMessage(playerid, COLOR_YELLOW, "Type: /rules for this server's rules.");
}
return 1;
Originally Posted by kaisersouse
I understand what you mean. I don't see why people are having such a hard time getting it
Paste your ENTIRE OnPlayerCommandText callback in pastebin.com and post the link here. I think I know whats wrong, but I need to see the entire thing in order to confirm it. |