03.07.2016, 22:08
(
Последний раз редактировалось Zeus666; 03.07.2016 в 22:52.
)
Hi. I have an Admin Jail script, connected to database. When player is not in adminjail he is pJailed = 0
when he is in AdminJail he is pJailed = 1
but, in mysql, at pJailed section, to me it shows his TIME, not if he is ajailed or not.
I want to make a table where to every account it will show
like in this picture http://i.imgur.com/LiFTqNT.png
1. [XX/ZZ/YYYY - Admin : [%s] - Time : [%d] - Reason : [%s]
2. [XX/ZZ/YYYY - Admin : [%s] - Time : [%d] - Reason : [%s]
but this for every player, like adminjail log per account.
And when he dies I don't know how to make to put him back to adminjail until his timer goes to 0.
When he quits and comes back, he falls from air.
Can you help me? Thank you
when he is in AdminJail he is pJailed = 1
but, in mysql, at pJailed section, to me it shows his TIME, not if he is ajailed or not.
I want to make a table where to every account it will show
like in this picture http://i.imgur.com/LiFTqNT.png
1. [XX/ZZ/YYYY - Admin : [%s] - Time : [%d] - Reason : [%s]
2. [XX/ZZ/YYYY - Admin : [%s] - Time : [%d] - Reason : [%s]
but this for every player, like adminjail log per account.
And when he dies I don't know how to make to put him back to adminjail until his timer goes to 0.
When he quits and comes back, he falls from air.
Can you help me? Thank you