English Not solved Issue with prison script not sending players to jail

  • Auteur de la discussion Auteur de la discussion Harti
  • Date de début Date de début
  • Bonjour Visiteur ! Les sujets de cette catégorie sont clos. Si vous souhaitez réouvrir, merci de nous contacter en précisant le lien du post à réouvrir !

    Hello Visiteur ! The topics in this category are closed. If you wish to reopen, please contact us with the link of the post you wish to reopen !

Harti

User
7/6/21
2
0
100
Hello, my English is not good, I hope you understand me anyway

es geht um dieses Scriptsystem

Skript


And although we can't put our people in jail, we choose the time then we press OK,
but after that nothing happens

the person does not go to jail

Can somebody help me with it

the logs I see are these


_player setVariable ["JailTime",(_queryR>

2021/06/04, 14:55:27 Error position: <_player setVariable ["JailTime",(_queryR>

2021/06/04, 14:55:27 Error Undefined variable in expression: _player

2021/06/04, 14:55:27 File life_server\Functions\MySQL\fn_queryRequest.sqf..., line 133


I should try this call

private _player = _ownerID;

but this didn't work either, after that I didn't get any further help,

Can somebody help me with it ?
 
Try it with this :

Code:
if (isNull _ownerID) exitWith {};
private _player = _ownerID;
_ownerID = owner _ownerID;
And send us your fn_queryRequest file ;)
 
das habe ich schon probiert
wie es in der Anleitung stand, hat aber auch nicht funktioniert, kann ich dir meine Dateien hochladen?
 
Hellow !

Are you on west side ? Do you use Radial Menu ?

Is the dialog closed after pressing "Ok" ?
-> If yes, can you add at the top of your fn_arrestAction.sqf :
Code:
systemChat "arrestAction called";
And tell me if you see the message in the chat after pressing the button
-> If no, check again if you correctly done the step in the file Functions.hpp