save jail Help
#1

Hi all,i have make a jail system.When a cop arrest a suspect ,then the suspect go in jail and
PHP код:
InJail[pId] = 1
But when the suspect disconnect and connect again then he spawn in the city and not in jail,How i can save it on a name file? what code to add on script?
Reply
#2

Well try OnPlayerSpawn (This is only if you have a saving system)

if(InJail[pId] == 1)
{
Reply
#3

yea i want to learn how to make a save system
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)