cmd:testcmd(playerid, params[])
{
if(!AdminCheck(playerid, ADMIN_LEVEL123)) return 1; // Basically, controlling if the user is admin or not.
new gelbakak[32];
format(gelbakak, sizeof(gelbakak), "%s", RutbeAdi(playerid)); // This is a function returning a string from some player variables. Like if adminlevel[playerid] == 3 >> Returns a text "This is a Super admin"
FixTurkishCharacters(gelbakak); // And then this, I'll give it below.
SendClientMessage(playerid, -1, gelbakak);
return 1;
}
BY THE WAY; I'm using the same function in another command, it works fine.
cmd:testchar(playerid, params[]) // THIS WORKS PROPERLY. BUT THE OTHER COMMAND WON'T.
{
if(!AdminCheck(playerid, ADMIN_LEVEL123)) return 1;
FixTurkishCharacters(params);
SCM(playerid,-1,params);
return 1;
}
Hey there,
After a command, I'm getting this and also nothing on the server won't be able to use as well. (Like, textdraws won't work, dialogs won't respond)
BY THE WAY; I'm using the same function in another command, it works fine.