  # undefined

Members

502

## Community Reputation

11 Decent

• Rank
Playa Partner
• Birthday 01/01/1981

## Recent Profile Visitors

1,183 profile views

• ### Turk-oghlan

1. random_number = function(first, second) if first < 0 and second < 0 then return -math.random(math.abs(first), math.abs(second)) elseif first > 0 and second < 0 then if math.random(2) == 1 then return math.random(0, first) else return -math.random(0, math.abs(second)) end elseif first < 0 and second > 0 then if math.random(2) == 1 then return -math.random(0, math.abs(first)) else return math.random(0, second) end else return math.random(first, second) end end Solved.
2. https://community.mtasa.com/?p=resources&s=details&id=15483 https://community.mtasa.com/index.php?p=resources&s=details&id=14542 DONE
3. player_tbl = { index = { in_zone = false, zombie_proof = false, zombies = {}, zombie_limit = 60, create_zombie = function(player) outputChatBox("test") if player.zombie_proof or not player.in_zone or isPedDead(player.element) then return end local zombie_count = 0 while zombie_count < 3 do triggerClientEvent ("find_spawn_location", player.element) zombie_count = zombie_count + 1 end end }, players = {} } addEventHandler("onResourceStart", resourceRoot, function() for i, player in ipairs(getElementsByType("player")) do local self = setmetatable({ element = player }, { __index = player_tbl.index }) table.insert(player_tbl.players, self) Timer(function(self) self:create_zombie() -- this line --self.create_zombie(self) -- or this line end, 10000, 0, self) end end) What is the cause of the mistake?
4. Script has 2 language(Turkish and English). You can change it with 'selected' variable in options.lua. Current language is Turkish. This script brings the limit to the player's gun and bullets. For example, the player can have a maximum of 1 melee weapon and 2 weapons. All the required properties can be changed in the options.lua file. Link: https://community.mtasa.com/?p=resources&s=details&id=15483 Video:
5. Thanks
6. https://pastebin.mtasa.com/103562576
7. The GTA is opening when I try to open MTA. How can i fix it? I have tried to solve it many times. I formatted the computer. But it did not improve.
8. Send creating table row.
• • 