04.08.2014, 09:19
i need Jail command with my script enum.
Jail CMD:
when we type /jail id reason..Then show client msg to all and player teleported to this co-ordinates [ 940.4175,2480.6018,605.7997 ]
And when he try to teleport while in jail Then show him "You cannot use this command in jail."
Unjail CMD:
When we unjail someone /unjail id.. Then show client msg to all.
and setplayerpos to this co-ordinates [392.8895,2444.1650,16.5000]
ENUM:
Thanks for helping in Advance.
+rep for replying
Jail CMD:
when we type /jail id reason..Then show client msg to all and player teleported to this co-ordinates [ 940.4175,2480.6018,605.7997 ]
And when he try to teleport while in jail Then show him "You cannot use this command in jail."
Unjail CMD:
When we unjail someone /unjail id.. Then show client msg to all.
and setplayerpos to this co-ordinates [392.8895,2444.1650,16.5000]
ENUM:
Код:
enum pInfo
{
Password[129],
// RegID,
Admin,
VIP,
AltName[26],
RegOn[20],
Cash,
Score,
Spawned,
LoginFail,
LoggedIn,
Goto,
isAFK,
inDM,
inMini,
inDMZone,
Float:POS_X,
Float:POS_Y,
Float:POS_Z,
Skin,
Color,
WeaponSet,
DisablePMs,
Muted,
Kills,
Deaths,
Hours,
Minutes,
BanExpire,
GodEnabled,
Helmet,
pSpawnVehicle,
BanReason[32],
BanPerm,
BanAdmin[26]
}
new PlayerInfo[MAX_PLAYERS][pInfo];
+rep for replying

