люди у меня личка почему то не пашет, объясните в чём проблема. [pwn] /*new msg[128];
new name[32];
GetPlayerName(playerid, name, sizeof(name));
format(msg, sizeof(msg), "\2;%s\2;: %s", name, text); // [0] <jacob> hi*/
/*if (PLayerInfo[playerid][pLevel] < 2)
{
SendClientMessage(playerid,COLOR_RED," *** Âûâîä ñîîáùåíèé ïåðâîìó óðîâíþ çàïðåùåí.");
SendClientMessage(playerid,COLOR_RED," *** Èñïîëüçóéòå (/pm id òåêñò) äëÿ îáùåíèÿ ñ èãðîêàìè.");
return 0;
}*/[/pwn]
[pwn]/*public OnPlayerPrivmsg(playerid, recieverid, text[])
{
fixchars(text);
new string[256];
new name[24]; // Reciever
new name2[24]; // Sender
GetPlayerName( recieverid, name, 24 );
GetPlayerName( playerid, name2, 24 );
format(string, sizeof(string), "[pm] %s %d %s %d %s", name, recieverid, name2, playerid, text);
//add_log( string );
format(string, sizeof(string), "PM sent to %s (ID:%d): %s", name, recieverid, text);
SendClientMessage(playerid, 0xFCF54500, string);
format(string, sizeof(string), "PM from %s (ID:%d): %s", name2, playerid, text);
SendClientMessage(recieverid, 0xFFDC1800, string);
format( string, sizeof( string ), "PM from %s(ID:%d) to %s(ID:%d): %s", name2, playerid, name, recieverid, text );
// Now inform admins about it
for( new i = 0; i < MAX_PLAYERS; i ++ )
{
if( IsPlayerConnected( i ) )
{
if ((IsPlayerAdmin(recieverid)) || PLayerInfo[recieverid][pAdmin] >= 1337)
{
// Level 3 admin or higher, may see PM. Well... do we want to see PM's?
// Oh, and the recieving player shouldn't see this either.
if(i != recieverid)
{
// Yay, send the notice.
SendClientMessage( i, COLOR_YELLOW, string );
}
}
}
}
return 0;
}*/[/pwn]