Coding Problem :(
#1

Quote:

dcmd_help(playerid,params[])
{
#pragma unused params
if(AccInfo[playerid][LoggedIn] && AccInfo[playerid][Level] >= 0)
{
SendClientMessage(playerid, white, "___________ |- Help -| ___________");
SendClientMessage(playerid,Green1, "Welcome to The help menu of fun!");
SendClientMessage(playerid,Green2, "We really hope you enjoy your stay here ");
SendClientMessage(playerid,Green1, "Be sure to ask if you need any help and");
SendClientMessage(playerid,Green2, "/report any hackers or catch a SS and post it on the forums!");
SendClientMessage(playerid,Green1, "HAVE FUN!");
}

return 1;
}

Thats my code!
And when i compile i get this error
Quote:

12251) : warning 203: symbol is never used: "dcmd_help"

Which i really dont get.
It still compiles but that command doesnt work

BTW if it makes a difference. It is inside the LuxAdmin Script!

I will be so greatful if you can help! )
Reply
#2

Put this on OnPlayerCommandText:

dcmd(help,4,cmdtext);
Reply


Forum Jump:


Users browsing this thread: