English Endround

2 replies
Goto Page
To the start Previous 1 Next To the start
08.01.19 06:58:33 pm
Up
tos12345678
User
Offline Off
Hello there,
I have a problem with endround hook
I would like a script using endround or other which every endround will:
Code:
1
2
if homebuy2[id]==1 then
homebuy2[id]=homebuy2[id]-1

for each player
08.01.19 07:07:25 pm
Up
Bowlinghead
User
Offline Off
Code:
1
2
3
4
5
6
7
-- untested
addhook("endround","hey")
function hey()
     for _,id in ipairs(player(0,"table")) do
          -- your code for each player
     end
end
Share time limited free games here
09.01.19 10:51:24 am
Up
tos12345678
User
Offline Off
I wll try EDIT: works
edited 1×, last 09.01.19 05:59:24 pm
To the start Previous 1 Next To the start