31.12.2014, 17:34
Hello guys i have a simple question
First here is the code
It works and when the timer end it unjail him but put him in the sky not at the place that i have put its cordinate ?
Please Help !!
First here is the code
PHP код:
forward Unjail(playerid);
public Unjail(playerid)
{
SetPlayerPos(playerid, 257.2509,83.6424,1002.4453);
SetPlayerInterior(playerid, 0);
inJail[playerid] = false;
KillTimer(JailTimer[playerid]);
GameTextForPlayer(playerid, "~g~Unjailed", 5000, 6);
PlayerPlaySound(playerid,1057,0.0,0.0,0.0);
SendClientMessage(playerid, COLOR_GREEN, "You are free now but we took from you a small thing so you have to not make it again !");
GivePlayerMoney(playerid, -500);
}
Please Help !!