addEventHandler ("onResourceStart",root,
Function crim1()
createTeam(Criminals,200,0,0)
end
Function crim2()
local crim=getTeamFromName("Criminals")
if (crim) then
setPlayerTeam (client,crim)
outputChatBox ("You Are Now A Criminal",source)
else return
end
end
addCommandHandler (criminal,joincrim)
else if isObjectInACLGroup("user."..accName, aclGetGroup("Moderator")) then
outputChatBox(getPlayerName(source).." has logged in as moderator!", root, 255, 255, 255, true)
end
end)
Should I add that if I want moderator too?
So I have just started Programming recently..
I Started with a simple script which I have trouble continuing it
It's A Script Which When An Staff Member Login , it Should Get His Acl Group Name whether he's an admin or moderator...
Then Says (Player) logged in As (aclGetGroupName)
Here's what I have done but couldn't continue
addEventHandler ("onPlayerLogin",root,
Function WelcomeStaff ()
aclGetGroup (player)
end
I have no idea how to use guiEditor..! does that need a to be done by scripting or what? i downloaded that guieditor from community.multitheftauto.com but now after i use /guied or CTRL+G it just tells me down the screen its working and then. it just freezes me that i cant move but i can still talk .. Can anybody help and give me idea bout that?