Forum
![>](img/i_next.png)
![>](img/icons/cs2d.png)
![>](img/i_next.png)
![>](img/i_next.png)
Skin luaa
10 Antworten![Zum Anfang](img/i_first.png)
![Vorherige](img/i_prev.png)
![Nächste](img/i_next.png)
![Zum Anfang](img/i_last.png)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
2
3
4
5
6
7
8
9
10
11
12
13
14
hatimg={} addhook('join','_join') function _join(id) hatimg[id]=0 end addhook('spawn','_spawn') function _spawn(id) if player(id,"team")==2 then freeimage(hatimg[id]) hatimg[id] = image('gfx/police.bmp', 1, 1, 200 + id) end end
![user](img/i_friend.png)
![user](img/i_friend.png)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
hat = {} addhook("spawn","_spawn") function _spawn(id) if player(id,"team") == 2 then hat[id] = image("gfx/police.bmp",2,1,200+ id) end end addhook("die","_die") function _die(vic,id) if hat[vic] ~= nil then freeimage(hat[vic]) hat[vic] = nil end end
![user](img/i_friend.png)
![user](img/i_friend.png)
@
KingShadow: doesnt work :// can anyone try to give me other code?
![user](img/i_friend.png)
![user](img/i_friend.png)
![user](img/i_friend.png)
BTW I tried with terrorists same, gfx/inmate.bmp.
if player(id,"team") == 1 and "gfx/inmate.bmp",2,1,200+ id
and also _spawn to _spawn2 but it doesnt work
![](img/smiles/sad.gif)
![Zum Anfang](img/i_first.png)
![Vorherige](img/i_prev.png)
![Nächste](img/i_next.png)
![Zum Anfang](img/i_last.png)