Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new
- bool:AdoramosQueijo = false,
- sString[128] = {EOS, ...};
- public OnPlayerDisconnect(playerid, reason)
- {
- if(AdoramosQueijo) {
- GetPlayerIp(playerid, sString, 16);
- format(sString, 32, "unbanip %s", sString);
- SendRconCommand(sString);
- }
- return true;
- }
- stock reconnectPlayers( playerid )
- {
- AdoramosQueijo = true;
- for(new i; i < MAX_PLAYERS; i++ ) {
- if(!IsPlayerConnected( i )) continue;
- GetPlayerIp(i, sString, 16);
- format(sString, 32, "banip %s", sString);
- SendRconCommand(sString);
- }
- return AdoramosQueijo = false, true;
- }
- /*
- Reconnect All Players
- @Developed: Gibson and DraKiNs
- @Url:www.ips-team.blogspot.com
- (c) Copyright [iPs]TeaM 2011
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement