SA-MP Forums Archive
easy request just look in it - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: easy request just look in it (/showthread.php?tid=417546)



easy request just look in it - Joe_Goro - 21.02.2013

in my script i have this

CMD:Achanges(playerid, params[])
{
new string[128];

if(PlayerInfo[playerid][pAdmin] >= 2)
{
SendClientMessageEx(playerid, COLOR_YELLOW, "_____________________________________________ _");
format(string, sizeof(string), "Version: %s", SERVER_GM_TEXT);
SendClientMessageEx(playerid, COLOR_YELLOW, string);
SendClientMessageEx(playerid, COLOR_WHITE, "* blablabla *");
SendClientMessageEx(playerid, COLOR_YELLOW, "_____________________________________________ _");
}
return 1;
}

how to make it for pulic to use ?


Re: easy request just look in it - detter - 21.02.2013

Quote:
Originally Posted by Joe_Goro
Посмотреть сообщение
in my script i have this

CMD:Achanges(playerid, params[])
{
new string[128];

if(PlayerInfo[playerid][pAdmin] >= 2)
{
SendClientMessageEx(playerid, COLOR_YELLOW, "_____________________________________________ _");
format(string, sizeof(string), "Version: %s", SERVER_GM_TEXT);
SendClientMessageEx(playerid, COLOR_YELLOW, string);
SendClientMessageEx(playerid, COLOR_WHITE, "* blablabla *");
SendClientMessageEx(playerid, COLOR_YELLOW, "_____________________________________________ _");
}
return 1;
}

how to make it for pulic to use ?
public ?


Код:
CMD:Achanges(playerid, params[])
{
	new string[128];

	SendClientMessageEx(playerid, COLOR_YELLOW, "______________________________________________");
	format(string, sizeof(string), "Version: %s", SERVER_GM_TEXT);
	SendClientMessageEx(playerid, COLOR_YELLOW, string);
	SendClientMessageEx(playerid, COLOR_WHITE, "* blablabla *");
	SendClientMessageEx(playerid, COLOR_YELLOW, "______________________________________________");
	
	return 1;
}
^here