Hi i am new with Lua scripting, and as far as my knowledge reaches, everything should be fine, but it doesn't show any results.
I explain, I've created a tiggerzone and I have assigned my lua file.
function freezeZone_init(e)
end
function freezeZone_main(e)
if GetPlayerInZone(e) == 1 then
FreezePlayer()
end
end
Technically as far as I understand I am doing the following = I check if the player is inside the zone with GetPlayerInZone(e) and if true this return 1 and Freezes the player, but in game naver freezes the player.