21.01.2016, 22:40
Quote:
|
The Arrest/prisontime will be not setted in the MYSQL after using this command can you maybe explain me why?
|
It should however be saving something, around the StatsSaving function usually.
Otherwise the code could go in this area
Код:
else
{
ResetPlayerWeapons(ID);
Player[ID][Arrest] = 1;
Player[ID][PrisonTime] = time * 60;
SetPlayerSpecialAction(ID, SPECIAL_ACTION_NONE);
format(string, sizeof(string), "> You've arrested %s for %d days at San Andreas Prison.", RPName(ID), time);
SendClientMessage(playerid, SPECIALORANGE, string);
format(string, sizeof(string), "> %s has arrested you for %d days at San Andreas Prison.", RPName(playerid), time);
SendClientMessage(ID, SPECIALORANGE, string);
}

