Posts: 357
Threads: 52
Joined: Feb 2012
Reputation:
0
Hey guys,
I tried to script something for private admins' chatting ..
@Hi
Owner Guitar: Hi.
or /achat Hi.
So admins can be able to communicate with each other and only admins can see this chat, how can I script that?
Posts: 1,274
Threads: 54
Joined: Jul 2012
How does your administration system?
Posts: 1,274
Threads: 54
Joined: Jul 2012
Код:
CMD:achat(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1) {
if(!isnull(params)) {
new szMessage[128];
if(PlayerInfo[playerid][pAdmin] == 1) format(szMessage, sizeof(szMessage), " [YOUR ADMIN LEVEL!] %s: %s", GetPlayerNameEx(playerid), params);
else format(szMessage, sizeof(szMessage), "* Undefined Admin (%i) %s: %s", PlayerInfo[playerid][pAdmin], GetPlayerNameEx(playerid), params);
SendAdminMessage(COLOR_GREEN, szMessage);
}
else SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: (/a)dmin [admin chat]");
}
return 1;
}
Here ya' go! <3
Love You Guitar<3
Posts: 1,274
Threads: 54
Joined: Jul 2012
Quote:
Originally Posted by Guitar
Aw thank you Akira <3 I really love you too and wow you're just the best helper and a very nice female  Thank you a lot! I will be testing it tomorrow sweety, thank you 
|
You're welcome.
Posts: 57
Threads: 3
Joined: Aug 2012
Reputation:
0
Guitar what can i help u in ur forums?