Search the Community
Showing results for tags 'superman'.
-
Hello! I need a help. 1. I want to stop superman for the player, who entered to the ColShape 2. I want to disable skin changing when the player in ColShape (I used onColShapeHit and setElementModel, but when the player is in the ColShape, he is able to change his skin) If any of you guys can help me, it would be a greate help for me. I am new to LUA SCRIPTING
-
i downloaded this from community: script and this from script decription: "If you want to restrict it to the Admin ACL, then replace it: local function canFly()return getTeamName(getPlayerTeam(getLocalPlayer())) == "Admins"endfor: local function canFly() return (isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Admin"))) end" and i tried this, but doesn't working this is from client.lua: -- -- Check for admin privileges -- local function canFly() return (isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("Admin"))) end How to fix this? Why not working?