I am trying to make a script that says -Client- Needs to stop spamming when the Host or SuperAdmin says /StopSpam -BLID-
Problem: it wont appear on the custom add-ons list, it does appear on the GRTB listings though. Even though it is activated on the GRTB listings, it doesnt work in game.
Script
function servercmdStopSpam(%admin, %blid)
{
if(!%admin. issuperadmin) return;
%target = getclientbyid(%blid);
if(%target == -1) return;
messageall("\c5needs to stop spamming, " @ %target.name @ ");
}
ActivatePackage(StopSpam);