PtokaX wiki

Hub (server) for Direct Connect

User Tools

Site Tools


luaapi:px_profman

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
luaapi:px_profman [07/07/2013 03:58] – Integer fixes ppkluaapi:px_profman [16/06/2015 14:03] (current) ppk
Line 1: Line 1:
-====== Profile manager metatable functions ======+====== Profile manager table functions ======
  
 ^ Function ^ Description ^ ^ Function ^ Description ^
 |ProfMan.AddProfile(sProfileName)|Add profile to profilemanager, return iProfileNumber if success or nil when profile already exist.| |ProfMan.AddProfile(sProfileName)|Add profile to profilemanager, return iProfileNumber if success or nil when profile already exist.|
-|ProfMan.RemoveProfile(sProfileName)|Remove profile from profilemanager, return true if success or nil when profile not exist or is in use.|+|ProfMan.RemoveProfile(sProfileName/iProfileNumber)|Remove profile from profilemanager, return true if success or nil when profile not exist or is in use.|
 | | | | | |
 |ProfMan.MoveDown(iProfileNumber)|Move profile down. Return nil when failed, true if success.| |ProfMan.MoveDown(iProfileNumber)|Move profile down. Return nil when failed, true if success.|
luaapi/px_profman.1373169515.txt.gz · Last modified: 07/07/2013 03:58 by ppk