17.06.2009, 19:06
how i can send message to screen or speack, if text style is Style 0 or Style 1 or Style 2 or Style 3 or Style 4
or Style 5 or Style 6.
or Style 5 or Style 6.
GameTextForPlayer(playerid, "messagehere", timeinmilliseconds, type);
//or
GameTextForAll("messagehere", timeinmilliseconds, type);
Or command styles 0-6 /something 0 (Hy All) or /something 1 (Hy All) |
dcmd_say(playerid, params[])
{
new style, text[218];
if(sscanf(params, "ds", style, text) return SendClientMessage(playerid, COLOR_WHATEVER, "SYNTAX: /say <style> <text>");
if(style > 5 || style < 0) return SendClientMessage(playerid, COLOR_WHATEVER, "This style does not exist");
GameTextForAll(text, 3000, style);
return 1;
}