16.08.2010, 14:12
Hi people,
I've added a small line of coding to a filterscript. This script stops the person from /taxi (teleport) out of jail.
Within the taxi script I have put:
The only problem is, other interior locations have the same ID. http://weedarr.wikidot.com/interior
Would I have to swap this " if interior 3" to "if in jail" ??
if so, how would I get the status (if jailed is true) ?? (I'm using LAdmin)
Thanks for any help
I've added a small line of coding to a filterscript. This script stops the person from /taxi (teleport) out of jail.
Within the taxi script I have put:
Код:
if(GetPlayerInterior(playerid) == 3) // Jail interior ID { format(string,sizeof(string),"ERROR: No taxi for you sunshine!"); // jail message return SendClientMessage(playerid, 0xFF0000AA, string); }
Would I have to swap this " if interior 3" to "if in jail" ??
if so, how would I get the status (if jailed is true) ?? (I'm using LAdmin)
Thanks for any help