31.10.2009, 17:36
Code:
if (strcmp("/command", cmdtext, true)==0)
{
if(IsPlayerLAdmin(playerid))
{
command
}
else
{
command
return 1;
}
}
when i type the command on server it says: unknown command
--EDIT--
ok now it work with this code..
Code:
if (strcmp("/command", cmdtext, true)==0)
{
if(IsPlayerLAdmin(playerid))
{
command
return 1;
}
else
{
command
}
}

