SA-MP Forums Archive
Coding Problem :( - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Coding Problem :( (/showthread.php?tid=305219)



Coding Problem :( - KingyKings - 21.12.2011

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! )


Re: Coding Problem :( - NeverKnow - 21.12.2011

Put this on OnPlayerCommandText:

dcmd(help,4,cmdtext);