//object(o2_bottles) (1) CreateDynamicObject(930,-441.79757690,1439.13562012,20.62290573,0.00000000,0.00000000,310.15014648); //object(o2_bottles) (1) CreateDynamicObject(920,-439.12274170,1439.54516602,20.66841125,0.00000000,0.00000000,0.00000000); //object(y_generator) (1) CreateDynamicObject(2926,-440.17663574,1438.00158691,20.11553764,0.00000000,0.00000000,0.00000000); //object(dyno_box_a) (1) CreateDynamicObject(2900,-442.15313721,1441.80639648,20.22906685,0.00000000,0.00000000,0.00000000); //object(temp_cardbox) (1) CreateDynamicObject(3056,-440.05236816,1435.27807617,20.86259460,0.00000000,0.00000000,0.00000000); //object(mini_magnet) (1) CreateDynamicObject(2908,-438.03732300,1434.06359863,20.01191711,0.00000000,0.00000000,0.00000000); //object(kmb_deadhead) (61) CreateDynamicObject(1428,2321.82128906,-3.97593117,25.40146828,9.32739258,0.00000000,179.84069824); //object(dyn_ladder) (1) CreateDynamicObject(2062,2321.81835938,-3.92938423,25.22842789,0.00000000,180.00000000,0.00000000); //object(cj_oildrum2) (3) CreateDynamicObject(2062,2306.64257812,-5.54518414,25.49048996,0.00000000,179.99450684,0.00000000); //object(cj_oildrum2) (4) CreateDynamicObject(1428,2306.65673828,-5.53805256,25.60327148,0.00000000,0.00000000,117.81982422); //object(dyn_ladder) (1) CreateDynamicObject(1222,-404.52395630,1316.28430176,11.59797001,0.00000000,0.00000000,0.00000000); //object(barrel3) (2) CreateDynamicObject(1225,-407.57412720,1323.66198730,11.93751144,0.00000000,0.00000000,0.00000000); //object(barrel4) (1) CreateDynamicObject(1225,-410.26507568,1326.00830078,12.06375790,0.00000000,0.00000000,0.00000000); //object(barrel4) (1) CreateDynamicObject(1217,-406.32064819,1326.83483887,12.08722305,0.00000000,0.00000000,0.00000000); //object(barrel2) (1)// Incedios: CreateDynamicObject(18690, 2553.7417,30.5010,29.2317,0,0,0,0); CreateDynamicObject(18691, 2553.7417,30.5010,29.2317,0,0,0,0); CreateDynamicObject(18690, 2536.3062,121.4103,30.9255,0,0,0,0); CreateDynamicObject(18691, 2536.3062,121.4103,30.9255,0,0,0,0); CreateDynamicObject(18690, 2376.9282,58.6376,31.3132,0,0,0,0); CreateDynamicObject(18691, 2376.9282,58.6376,31.3132,0,0,0,0); CreateDynamicObject(18690,2451.0962,142.5555,28.3310,0,0,0,0); CreateDynamicObject(18691,2451.0962,142.5555,28.3310,0,0,0,0); CreateDynamicObject(18690,2356.7085,107.6464,28.2662,0,0,0,0); CreateDynamicObject(18691,2356.7085,107.6464,28.2662,0,0,0,0); CreateDynamicObject(18690,2446.9858,26.8096,32.5872,0,0,0,0); CreateDynamicObject(18691,2446.9858,26.8096,32.5872,0,0,0,0); return true;}public OnGameModeExit(){ for(new i=0; i<MAX_PLAYERS; i++) { SalvarPlayer(i); } TextDrawHideForAll(Textdraw0); TextDrawDestroy(Textdraw0); TextDrawHideForAll(Textdraw1); TextDrawDestroy(Textdraw1); return true;}public OnPlayerRequestClass(playerid, classid){ SetPlayerCameraPos(playerid, 2159.8921,-1055.2019,80.4219); SetPlayerCameraLookAt(playerid, 2159.6272,-1061.3921,80.4219); ShowPlayerDialog(playerid, Escolha, DIALOG_STYLE_LIST, "Escolha o Seu Time","Zumbis\nHumanos","Selecionar","Cancelar"); return true;}public OnPlayerConnect(playerid){ TextDrawShowForPlayer(playerid, Textdraw0); TextDrawShowForPlayer(playerid, Textdraw1); Escolheu[playerid] = 0; new stringA[70]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(stringA, sizeof(stringA), "%s Entrou no Servidor.", sendername); SendClientMessageToAll( -1,stringA); SetPlayerCameraPos(playerid, 2159.8921,-1055.2019,80.4219); SetPlayerCameraLookAt(playerid, 2159.6272,-1061.3921,80.4219); new Nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, Nome, sizeof(Nome)); new String[124]; format(String, sizeof(String), CONTAS, Nome); if(!dini_Exists(String)) { format(String, sizeof(String), "{7FFFD4}Nick: {1E90FF}%s {1E90FF}Nao Registrado\n\n{FFFFFF} Digite Uma Senha Para Continuar", Nome); ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_INPUT, "Registro", String, "Registrar", "Cancelar"); } else { GetPlayerName(playerid, Nome, sizeof(Nome)); format(String, sizeof(String), "{7FFFD4}Nick: {1E90FF}%s {1E90FF}Registrado\n\n{FFFFFF} Digite Sua Senha Para Logar", Nome); ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_INPUT, "Registro", String, "Logar", "Cancelar"); } return true;}public OnPlayerDisconnect(playerid, reason){ new stringA[70]; GetPlayerName(playerid, sendername, sizeof(sendername)); format(stringA, sizeof(stringA), "%s Saiu do Servidor.", sendername); SendClientMessageToAll( -1,stringA); if(PlayerInfo[playerid][Org] == 1) { Zumbis --; } if(PlayerInfo[playerid][Org] == 2) { Humanos --; } SalvarPlayer(playerid); return true;}public OnPlayerSpawn(playerid){ if(Tutorial[playerid] < 1) { VerTutorial(); SetTimer("VerTutorial", 1000, true); return true; } if(Escolheu[playerid] < 1) return ShowPlayerDialog(playerid, Escolha, DIALOG_STYLE_LIST, "Escolha o Seu Time","Zumbis\nHumanos","Selecionar","Cancelar"); if(Check[playerid] == 1) { SetPVarInt(playerid,"Morreu",0); } if(Transformando[playerid] == 1) { SetPlayerPos(playerid,tX[playerid],tY[playerid],tZ[playerid]); TextDrawHideForPlayer(playerid, JFS); SetPlayerColor(playerid,0xFF0A00FF); SetPlayerSkin(playerid,162); Transformando[playerid] = 0; PlayerInfo[playerid][Org] = 1; Humanos --; Zumbis ++; SetPlayerDrunkLevel (playerid, 10000); return true; } if(PlayerInfo[playerid][Org] == 1) { SetPlayerPos(playerid, 2457.1643,148.4401,26.2750); SetPlayerFacingAngle(playerid, 113.0910); SetPlayerColor(playerid,0xFF0A00FF); SetPlayerSkin(playerid,162); SetPlayerDrunkLevel (playerid, 10000); return true; } if(PlayerInfo[playerid][Org] == 2) { SetPlayerPos(playerid, 2316.3516,3.5454,26.4844); SetPlayerFacingAngle(playerid, 317.0028); SetPlayerColor(playerid,0x0A00FFFF); SetPlayerSkin(playerid, 78); GivePlayerWeapon(playerid,30,500); GivePlayerWeapon(playerid,24,500); GivePlayerWeapon(playerid,5,1); return true; } return true;}public OnPlayerDeath(playerid, killerid, reason){ if(IsPlayerConnected(killerid)) { Matou[killerid]++; } Morreu[playerid]++; if(PlayerInfo[playerid][Org] == 1) { if(killerid != playerid) { specid[playerid] = killerid; } else { specid[playerid] = killerid+1; } Check[playerid] = 1; specPlayer(playerid, killerid); Zumbis --; SetPVarInt(playerid, "Morreu", 1); SetTimerEx("specAgain",1000,false,"i",playerid); } SendDeathMessage(killerid,playerid,reason); return true;}public OnVehicleSpawn(vehicleid){ return true;}public OnVehicleDeath(vehicleid, killerid){ return true;}public OnPlayerText(playerid, text[]){ SetPlayerChatBubble(playerid,text,0xFF0A00FF,50.0,5000); return true;}public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp("/rg", cmdtext, true, 8) == 0) { Status(playerid); return 1; } if (strcmp("/comandos", cmdtext, true, 10) == 0) { SendClientMessage(playerid,-1, "========================| ~ Comandos ~ |======================="); SendClientMessage(playerid, 0x0FFF00B9, "/ajuda /creditos /rg /rankajuda /rankonline /jetpack"); if(PlayerInfo[playerid][Org] == 1) { SendClientMessage(playerid, 0x0FFF00B9,"/invadir"); } if(PlayerInfo[playerid][Org] == 2) { SendClientMessage(playerid, 0x0FFF00B9,"/trancar /destrancar"); } SendClientMessage(playerid,-1, "==============================================================="); return true; } if (strcmp("/ajuda", cmdtext, true, 10) == 0) { if(PlayerInfo[playerid][Org] == 1) { SendClientMessage(playerid,-1, "========================| ~ Zumbi ~ |========================="); SendClientMessage(playerid, 0x0FFF00B9, "Va Atraz Dos Humanos e Jogue Seu Veneno Neles."); SendClientMessage(playerid, 0x0FFF00B9, "Se Voce e Seus Amigos Conseguir Envenenar Todos, Voce Ganha."); SendClientMessage(playerid,-1," ==============================================================="); return true; } if(PlayerInfo[playerid][Org] == 2) { SendClientMessage(playerid,-1, "======================| ~ Humanos ~ |======================"); SendClientMessage(playerid, 0x0FFF00B9,"Va Atraz Dos Zumbis e Mate Eles Com Suas Armas."); SendClientMessage(playerid, 0x0FFF00B9,"Se Voce e Seus Amigos Conseguir Matar Todos, Voce Ganha."); SendClientMessage(playerid, -1, "==========================================================="); return true; } return true; } if (strcmp("/creditos", cmdtext, true, 10) == 0) { SendClientMessage(playerid, -1, "===================| ~ Creditos ~ |===================");