Need Help ASAP
#1

Hi, when I do this coding

Код:
CMD:help(playerid, params[])
{
	SCM(playerid, COLOR_YELLOW, "This is a test command");
	return 0;
}

CMD:help2(playerid, params[])
{
	SCMTA(COLOR_YELLOW, "This is a test command");
	return 0;
}
I get this runtime error:
Код:
Script[gamemodes/TestingScript.amx]: Run time error 20: "Invalid index parameter (bad entry point)"
And when I type it in in game, it says the SendClientMessage but with a "Server:Error Unknown Command"
Reply
#2

PHP код:
CMD:help(playeridparams[])
{
    
SCM(playeridCOLOR_YELLOW"This is a test command");
    return 
1;

return 0; = return 1;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)