forward broadcastoff(); new bctime; public broadcasttower(){ for (new i = 0; i < MAX_PLAYERS; i++){ if (IsPlayerConnected(i)){ if (IsPlayerInSphere(i,-2535.0474,-689.8777,139.3203, 5)){ playerInSphere3[i] = 1; if (playerInSphere3[i] == 1) {continue;} SendClientMessage(i,0xFFFF00AA, "Type /br to send a textmessage to every one in the server"); SendClientMessage(i,0xFFFF00AA, "After Using it, it will need 10 minutes to recharge for the next use."); }else{ if (playerInSphere3[i] == 0) {continue;} playerInSphere3[i] = 0; } } } } bctime = SetTimer("broadcasttower",1000,1); if (!strcmp(cmdtext, "/bc", true, 3)) { for (new i=0; i < MAX_PLAYERS; i++) { if (playerInSphere3[i] == 1) { new str2[256], pname2[256]; GetPlayerName(playerid, pname2, 256); format(str2, 256, "~b~%s ~y~says: ~n~ %s", pname2, cmdtext[3]); SetTimer("broadcastoff",10000,0); KillTimer(bctime); GameTextForAll( str2, 5000, 3); } return 1; } }