tim260 Posted March 6, 2012 Share Posted March 6, 2012 (edited) NVM sorry lock the topic castillo helped me already HES THE BEST BTW, also for paying jobs he always works very fast and if it doesnt works how you want to hell edit it till its right im talking from experience Edited March 6, 2012 by Guest Link to comment
Castillo Posted March 6, 2012 Share Posted March 6, 2012 function giveAdminRights (playerSource, commandName, accountName, groupName) if (accountName and accountName ~= "" and groupName and groupName ~= "") then aclGroupAddObject (aclGetGroup(groupName), "user."..accountName) outputChatBox ("Account '".. accountName .."' succesfully added to '".. groupName .."'", playerSource) else outputChatBox ("Correct syntax: /groupadd [accountName] [groupName]", playerSource) end end addCommandHandler ("groupadd", giveAdminRights) Link to comment
Kenix Posted March 6, 2012 Share Posted March 6, 2012 (edited) tim260, Can you in next time use syntax checker? Read where: Completely non-working code viewtopic.php?f=91&t=40807 Edited March 6, 2012 by Guest Link to comment
tim260 Posted March 6, 2012 Author Share Posted March 6, 2012 (edited) tim260, Can you in next time use syntax checker? i will but im a nab dont blame me ! Edited March 6, 2012 by Guest Link to comment
Castillo Posted March 6, 2012 Share Posted March 6, 2012 You're welcome. Topic locked. Link to comment
Recommended Posts