Jail help
#1

Can any one plz help me with example on like if player is jailed with 5 minutes, he quit and when he join again he still in jail with the same time he quit, i want to do this so no player can abuse jail
Reply
#2

You really need to look into MYSQL or some sort of Database/file storing system to keep track of the time.
Reply
#3

It possible with dini?
Reply
#4

Make a variable jailtime and save it to user data.

OnPlayerDisconnect:
If you are using y_ini, do INI_Int("Jailtime",PlayerInfo[playerid][jailtime]);

OnPlayerConnect:
if(PlayerInfo[playerid][jailtime]>0)
{
jail, warn,etc.... blah blah
}
Reply
#5

U can explain more plz?
Reply
#6

Hello, look at this .

Hello one.

Hello two.
Reply
#7

I dont use y_ini, i use dini
Reply
#8

Bump
Reply
#9

Bump
Reply
#10

Use:

ZCMD
SSCANF
DOF2

And you can do it, if you need any help with the CODE ask here.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)