ok i explain you... when i use my admin account and i click on a items all work on every items they give me the durability but when i use a player account some item dont say me the durability ?
Code:
[EVENTS e_player]
ON=@ITEMCLICK
if !(<act.maxhits>>10000)
IF (<act.maxhits>>0)
act.message @,3,1 [Durability : <ACT.HITS>/<ACT.MAXHITS>]
endif
endif
return 1
uhmm, have you tried tooltips.scp event at download section?
[EVENTS e_player]
ON=@ITEMCLICK
if <act.maxhits>
act.message @,3,1 [Durability : <ACT.HITS>/<ACT.MAXHITS>]
endif
dont work with my personal armor script.. but when i am admin i can see all durability of items but when i try with a player just show me the name in gray color without durability ? dam thanks anyway
(05-20-2014 02:41 AM)kevin465 Wrote: [ -> ]dont work with my personal armor script.. but when i am admin i can see all durability of items but when i try with a player just show me the name in gray color without durability ? dam thanks anyway
Do your player have the event e_player?

yes i dont understand why ... with my admin account its work..
Do you have any other ON=@ITEMCLICK anywhere in your scripts that returns 1? Some something that may avoid the trigge from calling ?
No like i say ! when i use my admin account every items works fine i can see the durability but when i use a player account some items dont show me the durabilty when i click...
Better would be, if you showed us the certain way you apply the event. Show us what line you set in sphere.ini, what you have in a script. This trigger has nothing to do with plevel. Also, try it without the message parametres. Only act.message durability: <act.hits>/<act.maxhits>
Check multiples @ItemClick in your player events.
Are you sure you have the SAME events in your player and staff?