26.12.2017, 08:23
Quote:
Код:
if (dUserINT(PlayerName2(playerid)).("banned") == 1) { format(string, sizeof(string), "Your account has been banned by an Admin. Reason: %s", <Your reason variable here>); SendClientMessage(playerid, -1, string); Kick(playerid); } |
just found this
PHP код:
enum pInfo
{
name[MAX_PLAYER_NAME],
bowner,
bowned,
pass,
pcash,
bank,
team,
Jailed,
vhpb,
weed,
gang,
condoms,
inalcatraz,
RFCLevel,
AGLevel,
B2KLevel,
BALevel,
BMFLevel,
COPLevel,
BLevel,
PHLevel,
KODLevel,
XEFLevel,
TPKLevel,
OSLevel,
Registered,
LoggedIn,
Level,
Vip,
Muted,
Caps,
LJailTime,
Frozen,
FreezeTime,
Scores,
Kills,
Deaths,
hours,
mins,
secs,
Cookies,
TotalTime,
ConnectTime,
MuteWarnings,
Warnings,
Spawned,
TimesSpawned,
God,
DoorsLocked,
SpamCount,
SpamTime,
PingCount,
PingTime,
BotPing,
pPing[PING_MAX_EXCEEDS],
blip,
blipS,
pColour,
SpecID,
SpecType,
bool:AllowedIn,
FailLogin,
vowned,
vowner,
vowned2,
vowner2,
vowned3,
vowner3,
vowned4,
vowner4,
vowned5,
vowner5,
vowned6,
vowner6,
vowned7,
vowner7,
vowned8,
vowner8,
vowned9,
vowner9,
vowned10,
vowner10,
vowned11,
vowner11,
vowned12,
vowner12,
vowned13,
vowner13,
vowned14,
vowner14,
vowned15,
vowner15,
}
PHP код:
dUserSetINT(PlayerName2(playerid)).("banned",0);