11.09.2013, 17:04
(
Последний раз редактировалось N3XTMapper; 11.09.2013 в 17:07.
Причина: erro de escrita
)
Bom Galera.. Eu Fiz um FS com Base em Um GM que eu tenho Aqui...
Esse GM ja vem Com GangZones entгo o Que Eu Fiz Foi Pegar O Codigo Das GangZones e Colar Nesse meu Fs
Sу Que Na Hora de Compilar Aparece 4 erros Que Eu Nгo Consigo Resolver...
Se Voces Arrumassem Pra Mim Eu Ficaria Muito Agradecido
Os Erros Sгo Esses:
Esse GM ja vem Com GangZones entгo o Que Eu Fiz Foi Pegar O Codigo Das GangZones e Colar Nesse meu Fs
Sу Que Na Hora de Compilar Aparece 4 erros Que Eu Nгo Consigo Resolver...
Se Voces Arrumassem Pra Mim Eu Ficaria Muito Agradecido
Os Erros Sгo Esses:
Код:
C:\Users\moises\Desktop\GM FANTASTIC WORLD\testes\GzNext.pwn(122) : warning 217: loose indentation C:\Users\moises\Desktop\GM FANTASTIC WORLD\testes\GzNext.pwn(179) : error 017: undefined symbol "Gang" C:\Users\moises\Desktop\GM FANTASTIC WORLD\testes\GzNext.pwn(179) : warning 215: expression has no effect C:\Users\moises\Desktop\GM FANTASTIC WORLD\testes\GzNext.pwn(179) : error 001: expected token: ";", but found "]" C:\Users\moises\Desktop\GM FANTASTIC WORLD\testes\GzNext.pwn(179) : error 029: invalid expression, assumed zero C:\Users\moises\Desktop\GM FANTASTIC WORLD\testes\GzNext.pwn(179) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
Код:
// This is a comment // uncomment the line below if you want to write a filterscript #define FILTERSCRIPT #define SetarTempo SetTimer #include <a_samp> #include <float> #include <core> #include <Dini> #include <dudb> #include <dutils> #include <cpstream> #if defined FILTERSCRIPT forward ZoneCheckpointChecker(); #define SWAT 1 #define GROOVER 2 #define BALLAS 3 #define CHINEZES 4 #define BOYZINHOS 5 #define MEDICOS 6 #define RAPPERS 7 #define GATINHAS 8 #define MILITARES 9 #define BOMBEIROS 10 #define FRANGOS 11 #define OPERARIOS 12 #define GetPlayerTeam(%1) GetPlayerTeamFix(%1) /************************************************************************************************************************************************************/ new gzcolor[13] = { 0x0000FFAA, 0x008000AA, 0xFF0080AA, 0xFF00FFAA, 0x804040AA, 0xFFFFFFAA, 0x804000AA, 0xFF0000AA, 0x808000AA, 0x000000AA, 0xFFFF00AA, 0x0080C0AA, }; new cpzone[MAX_PLAYERS][13]; new lastcp[MAX_PLAYERS]; new Mortes[MAX_PLAYERS]; new Swat; new Groover; new Ballas; new Chinezes; new Boyzinho; new Medicos; new Rappers; new Frangos; new Gatinhas; new Militares; new Operarios; new Bombeiros; new cpswat; new cpgroover; new cpballas; new cpchinezes; new cpmedicos; new cpboyzinho; new cprappers; new cpfrangos; new cpgatinhas; new cpmilitares; new cpoperarios; new cpbombeiros; /************************************************************************************************************************************************************/ static PlayerTeamFix[MAX_PLAYERS] = {NO_TEAM,...}; stock GetPlayerTeamFix(playerid) { return PlayerTeamFix[playerid]; } stock SetPlayerTeamEx(playerid,team) { PlayerTeamFix[playerid] = team; SetPlayerTeam(playerid,team); } public OnFilterScriptInit() { print("\n--------------------------------------"); print(" TESTE SISTEMA DE GZ'S"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" TESTE SISTEMA DE GZ'S"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("MDL 2013"); AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); SetTimer("ZoneCheckpointChecker", 500, 1); AddPlayerClass(285,-1635.5576,666.8273,7.1875,263.7441,31, 200, 32, 200, 16, 30);//Swat AddPlayerClass(107,-2670.5107,-86.1123,4.3359,3.3571,31, 200, 32, 200, 16, 30); // groover AddPlayerClass(102,-1873.0983,-218.0251,18.3750, 0, 41, 500, 32, 250, 24, 250); // ballas AddPlayerClass(123,-2185.7253,706.9626,53.8906,225.8146,31, 200, 32, 200, 16, 30);//Chines AddPlayerClass(124,-2670.8701,927.5848,79.7031,18.2025,31, 200, 32, 200, 16, 30); // bouzinho AddPlayerClass(274,-2655.1086,632.3919,14.4531,179.8741,31, 200, 32, 200, 16, 30);//Medico AddPlayerClass(293,-1682.2844,1099.2469,54.7031,263.8048,31, 200, 32, 200, 16, 30); // rappers AddPlayerClass(167,-2690.0498,267.3463,4.1757,359.9644,31, 200, 32, 200, 16, 30); // frangos AddPlayerClass(257,-2620.0886,1412.3397,7.1016,197.4855,31, 200, 32, 200, 16, 30);//Gatinhas AddPlayerClass(256,-2620.0886,1412.3397,7.1016,197.4855,31, 200, 32, 200, 16, 30);//Gatinhas AddPlayerClass(287,-1324.0948,497.2354,11.1953,137.1467,31, 200, 32, 200, 16, 30);//Militares AddPlayerClass(27,-2068.9697,308.7763,41.9922,99.5585,31, 200, 32, 200, 16, 30); //operarios AddPlayerClass(279,-2066.9033,97.2610,28.3906,180.1699,31, 200, 32, 200, 16, 30);//Bomberos Swat = GangZoneCreate(-1807.555, 594.0618, -1390.385, 771.5852); Groover = GangZoneCreate(-2723.011, -210.711, -2564.641, -21.35266); Ballas = GangZoneCreate(-1935.023, -258.0505, -1749.614, -84.47209); Chinezes = GangZoneCreate(-2348.33, 550.6672, -2151.333, 850.4844); Boyzinho = GangZoneCreate(-2753.912, 807.0898, -2522.151, 1039.843); Medicos = GangZoneCreate(-2746.187, 578.2819, -2518.289, 743.9704); Rappers = GangZoneCreate(-1892.534, 949.1086, -1602.832, 1233.146); Frangos = GangZoneCreate(-2811.853, 140.3909, -2549.19, 329.7492); Gatinhas = GangZoneCreate(-2807.99, 1331.77, -2533.739, 1556.633); Militares = GangZoneCreate(-1741.889, 294.2445, -1235.877, 542.7772); Operarios = GangZoneCreate(-2263.351, 120.6661, -1996.826, 333.6941); Bombeiros = GangZoneCreate(-2255.626, -52.91238, -1989.101, 124.611); /************************************************************************************************************************************************************/ cpswat = CPS_AddCheckpoint(-1616.3616,685.5773,7.1875,2.0,500); cpgroover = CPS_AddCheckpoint(-2683.1978,-84.9738,4.3359,2.0,500); cpballas = CPS_AddCheckpoint(-1875.1608,-214.1414,18.4208,2.0,500); cpchinezes = CPS_AddCheckpoint(-2179.4409,605.8021,35.1641,2.0,500); cpboyzinho = CPS_AddCheckpoint(-2669.9922,936.0884,78.0174,2.0,500); cpmedicos = CPS_AddCheckpoint(-2710.4080,639.0375,14.4531,2.0,500); cprappers = CPS_AddCheckpoint(-1680.5308,1110.9629,54.7031,2.0,500); cpfrangos = CPS_AddCheckpoint(-2657.9490,275.8745,4.3359,2.0,500); cpgatinhas = CPS_AddCheckpoint(-2626.8906,1407.8823,7.0938,2.0,500); cpmilitares = CPS_AddCheckpoint(-1344.2959,503.1440,18.2344,2.0,500); cpoperarios = CPS_AddCheckpoint(-2087.5154,297.0286,40.9407,2.0,500); cpbombeiros = CPS_AddCheckpoint(-2050.0764,84.3214,28.3977,2.0,500); #pragma unused cpswat, cpgroover, cpballas, cpchinezes, cpboyzinho, cpmedicos, cprappers, cpfrangos, cpgatinhas, cpmilitares, cpoperarios, cpbombeiros return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { if(classid == 0) { Gang[playerid] = SWAT; SetPlayerTeamEx(playerid,Swat); GameTextForPlayer(playerid, "~p~SWATs~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 1) { Gang[playerid] = GROOVER; SetPlayerTeamEx(playerid,GROOVER); GameTextForPlayer(playerid, "~p~GROOVERS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 2) { Gang[playerid] = BALLAS; SetPlayerTeamEx(playerid,BALLAS); GameTextForPlayer(playerid, "~p~BALLAS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 3) { Gang[playerid] = CHINEZES; SetPlayerTeamEx(playerid,CHINEZES); GameTextForPlayer(playerid, "~p~CHINESES~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 4) { Gang[playerid] = BOYZINHOS; SetPlayerTeamEx(playerid,BOYZINHOS); GameTextForPlayer(playerid, "~p~BOYZINHOS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 5) { Gang[playerid] = MEDICOS; SetPlayerTeamEx(playerid,MEDICOS); GameTextForPlayer(playerid, "~p~MEDICOS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 6) { Gang[playerid] = RAPPERS; SetPlayerTeamEx(playerid,RAPPERS); GameTextForPlayer(playerid, "~p~RAPPERS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 7) { Gang[playerid] = FRANGOS; SetPlayerTeamEx(playerid,FRANGOS); GameTextForPlayer(playerid, "~p~FRANGOS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 8) { Gang[playerid] = GATINHAS; SetPlayerTeamEx(playerid,GATINHAS); GameTextForPlayer(playerid, "~p~GATINHAS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 9) { Gang[playerid] = GATINHAS; SetPlayerTeamEx(playerid,GATINHAS); GameTextForPlayer(playerid, "~p~GATINHAS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 10) { Gang[playerid] = MILITARES; SetPlayerTeamEx(playerid,MILITARES); GameTextForPlayer(playerid, "~p~MILITARES~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 11) { Gang[playerid] = OPERARIOS; SetPlayerTeamEx(playerid,OPERARIOS); GameTextForPlayer(playerid, "~p~OPERARIOS~n~~r~PRESSIONE SHIFT", 2000, 3); } else if(classid == 12) { Gang[playerid] = BOMBEIROS; SetPlayerTeamEx(playerid,BOMBEIROS); GameTextForPlayer(playerid, "~p~BOMBEIROS~n~~r~PRESSIONE SHIFT", 2000, 3); } SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { GangZoneShowForPlayer(playerid, Swat, gzcolor[0]); GangZoneShowForPlayer(playerid, Groover, gzcolor[1]); GangZoneShowForPlayer(playerid, Ballas, gzcolor[2]); GangZoneShowForPlayer(playerid, Chinezes, gzcolor[3]); GangZoneShowForPlayer(playerid, Boyzinho, gzcolor[4]); GangZoneShowForPlayer(playerid, Medicos, gzcolor[5]); GangZoneShowForPlayer(playerid, Rappers, gzcolor[6]); GangZoneShowForPlayer(playerid, Gatinhas, gzcolor[7]); GangZoneShowForPlayer(playerid, Militares, gzcolor[8]); GangZoneShowForPlayer(playerid, Bombeiros, gzcolor[9]); GangZoneShowForPlayer(playerid, Frangos, gzcolor[10]); GangZoneShowForPlayer(playerid, Operarios, gzcolor[11]); return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,22, 500); GivePlayerWeapon(playerid,26, 999); GivePlayerWeapon(playerid,31, 500); GivePlayerWeapon(playerid,32, 500); SetPlayerInterior(playerid, 0); return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/rms014@", cmdtext, true, 10) == 0) { // Do something here return 1; } return 0; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { lastcp[playerid] = CPS_GetPlayerCheckpoint(playerid); return 1; } public OnPlayerLeaveCheckpoint(playerid) { new checkpointid = lastcp[playerid]; if(checkpointid > 0 && checkpointid <= 14) //sгo 14 checkpoints, entгo mude se for colocar mais... { cpzone[playerid][checkpointid] = 0; //saiu do CP... GangZoneStopFlashForAll(checkpointid-1); } return 1; } //****************************************************** public ZoneCheckpointChecker() { new giveplayerid; wantedlevel = GetPlayerWantedLevel(giveplayerid); wantedlevel = wantedlevel +1; for(new i; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i))continue; if(CPS_GetPlayerCheckpoint(i) > 0 && CPS_GetPlayerCheckpoint(i) <= 14 && //sгo 14 checkpoints, entгo mude se for colocar mais... gzcolor[CPS_GetPlayerCheckpoint(i)-1] != GetPlayerColor(i)) { /************************************************************************************************************************************************************/ if(cpzone[i][CPS_GetPlayerCheckpoint(i)] < 10) { /************************************************************************************************************************************************************/ if(cpzone[i][CPS_GetPlayerCheckpoint(i)] == 5) { for(new j; j < MAX_PLAYERS; j++) { if(Gang[j] == CPS_GetPlayerCheckpoint(i)-1)GameTextForPlayer(j, " ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~n~ ~y~Uma area de ~g~seu time ~y~esta sendo ~r~atacada~y~!", 4000, 4); } } /************************************************************************************************************************************************************/ cpzone[i][CPS_GetPlayerCheckpoint(i)]++; new tmp[11]; format(tmp, sizeof tmp, "~y~%2d/10", cpzone[i][CPS_GetPlayerCheckpoint(i)]); GameTextForPlayer(i, tmp, 1001, 4); GangZoneFlashForAll(CPS_GetPlayerCheckpoint(i)-1, GetPlayerColor(i)); }else if(cpzone[i][CPS_GetPlayerCheckpoint(i)] == 10) { GivePlayerMoney(i, 200); GameTextForPlayer(i, "~R~DOMINADO", 4000, 1); gzcolor[CPS_GetPlayerCheckpoint(i)-1] = GetPlayerColor(i); GangZoneStopFlashForAll(CPS_GetPlayerCheckpoint(i)-1); GangZoneHideForAll(CPS_GetPlayerCheckpoint(i)-1); GangZoneShowForAll(CPS_GetPlayerCheckpoint(i)-1, GetPlayerColor(i)); /************************************************************************************************************************************************************/ if(Gang[i] == SWAT) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Swat , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == GROOVER) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Groovers , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == BALLAS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Ballas , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == CHINEZES) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Chineses , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == BOYZINHOS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Boyzinhos , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == MEDICOS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Mйdicos , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == RAPPERS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Rappers , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == FRANGOS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Frangos , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == GATINHAS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Das Gatinhas , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == MILITARES) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Militares , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == OPERARIOS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Operarios , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } else if(Gang[i] == BOMBEIROS) { SetPlayerWantedLevel(i, newlevel); format(stringx, sizeof stringx, "[GangZone]A Gang Dos Bombeiros , Acabou de Dominar mais um Territorio..."); SendClientMessageToAll(0xFFFF00AA, stringx); } } } } } return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { GivePlayerMoney(playerid,50000); new nome[MAX_PLAYER_NAME]; GetPlayerName(playerid, nome, sizeof(nome)); if(Gang[playerid] == SWAT) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: SWAT ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0x0000FFAA); SetPlayerTeamEx(playerid,SWAT); } else if(Gang[playerid] == GROOVER) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: GROOVERS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0x008000AA); SetPlayerTeamEx(playerid,GROOVER); } else if(Gang[playerid] == BALLAS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: BALLAS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0xFF0080AA); SetPlayerTeamEx(playerid,BALLAS); } else if(Gang[playerid] == CHINEZES) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: CHINEZES ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0xFF00FFAA); SetPlayerTeamEx(playerid,CHINEZES); } else if(Gang[playerid] == BOYZINHOS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: BOYZINHOS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0x804040AA); SetPlayerTeamEx(playerid,BOYZINHOS); } else if(Gang[playerid] == MEDICOS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: MEDICOS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0xFFFFFFAA); SetPlayerTeamEx(playerid,MEDICOS); } else if(Gang[playerid] == RAPPERS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: RAPPERS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0x804000AA); SetPlayerTeamEx(playerid,RAPPERS); } else if(Gang[playerid] == GATINHAS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: GATINHAS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0xFF0000AA); SetPlayerTeamEx(playerid,GATINHAS); } else if(Gang[playerid] == MILITARES) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: MILITARES ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0x808000AA); SetPlayerTeamEx(playerid,MILITARES); } else if(Gang[playerid] == BOMBEIROS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: BOMBEIROS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0x000000AA); SetPlayerTeamEx(playerid,BOMBEIROS); } else if(Gang[playerid] == FRANGOS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: FRANGOS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0xFFFF00AA); SetPlayerTeamEx(playerid,FRANGOS); } else if(Gang[playerid] == OPERARIOS) { formato(stringx, sizeof(stringx), "%s Foi Jogar Com A Gang: OPERARIOS ", nome), SendClientMessageToAll(0x00FF00AA, stringx); SetPlayerInterior(playerid,0); SetPlayerColor(playerid, 0x0080C0AA); SetPlayerTeamEx(playerid,OPERARIOS); } return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { 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) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(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; }