Is Player Admin?
#6

i see, however, i have tried to compile with peoples suggestions, and it occured to me, i use DCMD and DINI, so all my commands are CMD: report etc.... i just cand figure this one out :L

ill copy my report command and see if you can help? thanks so much in advance!


CMD:report(playerid, params[])
{
new str[50];
if(sscanf(params, "s[50]", str)== 0) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /report [text]");
SendClientMessage(playerid, COLOR_YELLOW, "Your report has been sent to any online admins.");
for(new i=0; i<MAX_PLAYERS; i++)
{
if(GetAdminLevel(i)>= 1 || IsPlayerAdmin(i))
{
format(str, sizeof(str), "[REPORT] %s: %s", GetPName(playerid), params);
SendClientMessage(i, COLOR_REPORT, str);
}
}
return 1;
}

PS: if you think this is abit advance, i had a friend help/script this for me lol
Reply


Messages In This Thread
Is Player Admin? - by Slash01 - 29.04.2011, 10:28
Re: Is Player Admin? - by Ironboy500[TW] - 29.04.2011, 10:49
Re: Is Player Admin? - by Sascha - 29.04.2011, 10:50
Re: Is Player Admin? - by Slash01 - 29.04.2011, 10:51
Re: Is Player Admin? - by Sascha - 29.04.2011, 11:04
Re: Is Player Admin? - by Slash01 - 29.04.2011, 11:19
Re: Is Player Admin? - by leong124 - 29.04.2011, 12:33
Re: Is Player Admin? - by Slash01 - 29.04.2011, 12:36
Re: Is Player Admin? - by Vince - 29.04.2011, 12:37
Re: Is Player Admin? - by Slash01 - 29.04.2011, 12:40

Forum Jump:


Users browsing this thread: 2 Guest(s)