27.02.2011, 14:01
Код:
else if(PlayerToPoint(1.0, i,GunJob[BuyPackagesX],GunJob[BuyPackagesY],GunJob[BuyPackagesZ])) { GameTextForPlayer(i, "~n~~r~Traficante de armas~n~~w~/comprar materiais", 3500, 3); format(string, sizeof(string), "Homie: Hey bro, alguem andou a roubar materiais, da-lhe cabo do canastro.", GetPlayerNameEx(playerid)); SendFactionTypeMessage(2,COLOR_LSPD,string); new location[MAX_ZONE_NAME]; GetPlayer2DZone(playerid, location, MAX_ZONE_NAME); format(string, sizeof(string), "Mensagem: Em Homies todos a procura do %s - Ultima pessoa activa: %s.", GetPlayerNameEx(playerid),location); SetPlayerWantedLevelEx(playerid,GetPlayerWantedLevel(playerid)+1); } }