31.12.2018, 05:33
try this from my GM
aka GiDanAdmin System
Quote:
|
CMD:announce(playerid, params[], help) { #pragma unused help if(PlayerInfo[playerid][pAdmin] < 2) return SCM(playerid, COLOR_RED, "You need to be admin level 2 to use this!"); new string[128],style; if(sscanf(params, "s[128]i",string,style)) return SCM(playerid, COLOR_RED, "Usage: /announce [Text] [Text Style 0-6]"); GameTextForAll(string,4000,style); return 1; } |

