26.09.2010, 11:02
Код:
public OnPlayerText(playerid, text[])
{
if(text[0] == '~' && PlayerInfo[playerid][gAdmin] > 0 || PlayerInfo[playerid][gVip] > 0){ // Jei pirmas simbolis yra ~, ir ar юaidлjas yra VIP, Admin.
new string[128]; GetPlayerName(playerid,string,sizeof(string)); // String, bei vardo gavimas
format(string,sizeof(string),"[Administracijos pokalbiai] %s sako: %s",string,text[1]); SiustiZinuteA(ZALIA,string); // Formatuojam, siunиiam юinutж
return 1; // Uюdarom
} // Uюdarom
.................... another script
(
Код:
if(text[0] == '~' && PlayerInfo[playerid][gAdmin] > 0 || PlayerInfo[playerid][gVip] > 0){ // Jei pirmas simbolis yra ~, ir ar юaidлjas yra VIP, Admin.


When i type ! sd its send message to all, and message to team, but there are no return 1; ;/