05.03.2011, 23:44
L.A.S already got a "Login/Register" system by Dialog. Just enable it on top of the fs.
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1317) : warning 209: function "dcmd_CMD_LOGIN" should return a value C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1323) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1522) : warning 209: function "dcmd_CMD_CHANGEPASS" should return a value C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1524) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1534) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1535) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1544) : error 017: undefined symbol "strtok" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1544) : error 033: array must be indexed (variable "tmp") C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1545) : error 017: undefined symbol "strtok" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1545) : error 033: array must be indexed (variable "tmp2") C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1548) : warning 209: function "dcmd_setpass" should return a value C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1552) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1563) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1564) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1542) : warning 203: symbol is never used: "Index" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1542 -- 1566) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1823) : error 017: undefined symbol "strtok" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1823) : error 033: array must be indexed (variable "tmp") C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1824) : error 017: undefined symbol "strtok" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1824) : error 033: array must be indexed (variable "tmp2") C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1829) : warning 209: function "dcmd_cage" should return a value C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1836) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1839) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1842) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1859) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1860) : error 078: function uses both "return" and "return <value>" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(1822) : warning 203: symbol is never used: "Index" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(2019) : error 017: undefined symbol "strtok" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(2019) : error 033: array must be indexed (variable "tmp") C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(2020) : error 017: undefined symbol "strtok" C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(2020) : error 033: array must be indexed (variable "tmp2") C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(2022) : warning 209: function "dcmd_setarmour" should return a value C:\Users\L3\Desktop\Runegaet RPG\filterscripts\LuxAdmin.pwn(2026) : error 078: function uses both "return" and "return <value>" Compilation aborted. 26 Errors. Compilation Time: 2.50 sec
stock strtok(const string[], &index,seperator=' ') { new length = strlen(string); new offset = index; new result[MAX_STRING]; while ((index < length) && (string[index] != seperator) && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; if ((index < length) && (string[index] == seperator)) { index++; } return result; }
E:\SA-MP\Rockstar Games\GTA San Andreas\Server\pawno\include\ldudb.inc(20) : fatal error 100: cannot read from file: "dutils" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.