29.08.2011, 18:24
Quote:
I didn't 'use' LuxAdmin or SA-MP bans Yet, just seen them. But I guess these ideas could help you out a bit:
- Copy the samp ban FS into Lux. - Convert the ban commands of the FS into a function: pawn Код:
pawn Код:
- Now in the /ban command of LuxAdmin, add this: SampBan(targetid, time/*0 if permanent*/, reason); - And Copy the OnPlayerConnect functions on the FS into LuxAdmin OnPlayerConnect. |
pawn Код:
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(5216) : error 017: undefined symbol "targetid"
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12279) : warning 219: local variable "ban_target" shadows a variable at a preceding level
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12279) : warning 219: local variable "ban_time" shadows a variable at a preceding level
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12279) : warning 219: local variable "ban_reason" shadows a variable at a preceding level
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12281) : error 017: undefined symbol "playerid"
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12283) : error 017: undefined symbol "playerid"
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12592) : warning 203: symbol is never used: "ban_reason"
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12592) : warning 203: symbol is never used: "ban_target"
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\filterscripts\LuxAdmin.pwn(12592) : warning 203: symbol is never used: "ban_time"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.