Jail after /q
#1

i need this script for LuxAdmin(strcmp)if one player go jail and after /q when recconnect stay with a jail time...

Sorry for my Bad English plz help.
Reply
#2

just onplayerdisconnect make save for jail time and if player jailed ... and add onplayerconnect check if player is jailed and to load jailed time and to move him to jail..
Reply
#3

Код:
enum pinfo
{
    pJailed,
    pJailTime
}
new PlayerInfo[MAX_PLAYERS][pinfo];
do you have this?
Reply
#4

Quote:
Originally Posted by Superhot
Посмотреть сообщение
Код:
enum pinfo
{
    pJailed,
    pJailTime
}
new PlayerInfo[MAX_PLAYERS][pinfo];
do you have this?
You don't even need pJailed. Just check if pJailTime > 0 and then send him to jail.
Reply
#5

You need the full script if you want it to work. Save Jail in file or database and load it again and set in jail again.
Wont work with just 1 piece.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)