Miscellany
public text v1 · immutable if(strcmp(cmdtext, "/gamenotice", true) == 0)
{
if(IsPlayerAdmin(playerid))
{
new message[ 256 ];
message = strtok( cmdtext, idx );
format(string, sizeof(string), "Bloodie: %s", message);
GameTextForAll(string,5000,5);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You must be admin to use this command.");
return 1;
}
}