[help]relog with wanted
#1

i wanna make when player left the server with wanted level, and when join to the server after that he go to jail for 900 seconds
can anyone help me

sorry for my bad english
Reply
#2

omg i really need this
noone know how to do this?
this is imposible
c'mon help me :/
Reply
#3

Use a file saving system and save their wanted level on disconnect then load it for them when they connect. You might find these links as useful (if you're gonna use mysql as a saving system):

https://sampforum.blast.hk/showthread.php?tid=129183
https://sampforum.blast.hk/showthread.php?tid=337810
https://sampwiki.blast.hk/wiki/MySQL_Tutorial
https://sampwiki.blast.hk/wiki/MySQL
Reply
#4

i found this but i dont know where put that in the script

Код:
if(WantedLevel[playerid] > 1)
{
     PlayerInfo[playerid][pJailTime] = 900;
     SetPlayerInterior(playerid, 6);
     SetPlayerPos(playerid,263.9333,77.7246,1001.0391);
     SendClientMessage(playerid, COLOR_RED, "Next time dont go relog with wanted lvl!");
}
do you know where put it?
Reply
#5

i did it, i dont need help anymore
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)