Thread: Lua Callbacks
View Single Post
Old 09-27-2007, 11:18 PM   #3
DeviusCreed
 
Join Date: Mar 2007
Posts Rated Helpful 0 Times
I am attempting to remove the radiotag for usage in snipermaps but with little success. according to this post the following should work, correct? But it doesn't.

function player_onradiotag(player_entity, effector_entity)
return EVENT_DISALLOWED
end

I also tried using the following to shorten to almost nothing but still doesn't do anything.

function player_onradiotag(player_entity, effector_entity)

radiotag_duration = 1
radiotag_iconduration = 1
return EVENT_ALLOWED

end
DeviusCreed is offline   Reply With Quote