24.02.2014, 14:07
Olha o meu GM tem o coisa que nao deixa ficar procurado na favela mas parou olah o codigo :
Olha o Codigo da favela :
Код:
if(DMLiberado2[playerid] == 1){ new string[256]; format(string, sizeof(string), "* %s matou %s na favela e nгo foi colocado na lista de procurados!",kname, aname); SendClientMessageToAll(0xA80000AA, string); SetSpawnInfo(playerid, 1,dini_Int(file, "Skin"), 2122.4463, -1212.4840, 23.9644, 93.7454, 0, 0, 0, 0, 0, 0); ClearAnimations(playerid); SetPlayerSpecialAction(playerid,SPECIAL_ACTION_NONE); TogglePlayerControllable(playerid, 1); return 1; }
Код:
forward areadm(); public areadm() { for(new i=0; i<MAX_PLAYERS; i++){ if(IsPlayerConnected(i)) { //Scores new aname[MAX_PLAYER_NAME]; GetPlayerName(i, aname, MAX_PLAYER_NAME); format(file, sizeof(file), PASTA_CONTAS, aname); SetPlayerScore(i,dini_Int(file, "Level")); if(IsPlayerInPlace(i,2016.010986, -1161.922363, 2324.010986, -923.518310)) { if(DMLiberado2[i] == 0) { DMLiberado2[i] = 1; GangZoneFlashForAll(favela,0xFFFFFFAA); GameTextForPlayer(i,"DM Liberado",500,1); GivePlayerWeapon(i, 24, 999); GivePlayerWeapon(i, 8, 1); GivePlayerWeapon(i, 25, 999); GivePlayerWeapon(i, 26, 999); GivePlayerWeapon(i, 30, 999); GivePlayerWeapon(i, 32, 999); } } else { if(DMLiberado2[i] == 1) { DMLiberado2[i] = 0; GangZoneStopFlashForAll(favela); ResetPlayerWeapons(i); } } } } return 1; }