All pastes #717197 Raw Edit

Something

public cpp v1 · immutable
#717197 ·published 2007-09-27 13:31 UTC
rendered paste body
public broadcasttower(){	for (new i = 0; i < MAX_PLAYERS; i++){		if (IsPlayerConnected(i)){			if (IsPlayerInSphere(i,-2535.0474,-689.8777,139.3203, 5)){			    SetPlayerCheckpoint(i,2535.0474,-689.8777,139.3203,2);		 		if (playerInSphere3[i] == 1) {continue;}				playerInSphere3[i] = 1;				SendClientMessage(i,0xFFFF00AA, "Type /bc <message> to send a textmessage to every one in the server");				SendClientMessage(i,0xFFFF00AA, "Color Codes: ~b~ Blue ~r~ Red ~g~ Green ~w~ White ~p~ Purple and ~l~ Black ");				SendClientMessage(i,0xFFFF00AA, "After Using it, it will need 10 minutes to recharge for the next use.");			}else{				if (playerInSphere3[i] == 0) {continue;}				DisablePlayerCheckpoint(i);				playerInSphere3[i] = 0;			}		}	}}