I have 2 question here
can I set an image to a player, but other player can't see it? (like msg2 in texting) I've searched in file archive but didn't get anything
what's wrong with my code?
if tbuild is true, I can build turret
but when tbuild is false, I also can build turret
no error in console but, dont know how to fix it
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
addhook("buildattempt","turretbuild") function turretbuild(id,type,tx,ty) if tbuild[id]==true then if (type~=2) and (type<=14) then if type==7 then return 0 end end end if tbuild[id]==false then if (type~=2) and (type<=14) then if type==7 then msg2(id,""..color.."255000000You dont have Turret License yet!") return 1 end end end end
thanks