PDA

View Full Version : STRCMP || Newbie Question


Le3aT
21/05/2014, 02:31 PM
Well, I made a command called /admins, It show you the admins. But if you do /adm, It also show the admins, If you do /admin, It shows the admins, If you do /admins 2usahs It shows the admins. I want to do it for /admins ONLY, And if he types anything else, It won't be successful.

Rittik
21/05/2014, 02:36 PM
if(strcmp(cmdtext,"/admins",false)==0)
{
//your code goes here
return 1;
}