01.06.2012, 07:49
Your script is missing setplayerinterior. Use:
pawn Код:
if (strcmp("/ExitCH", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 4.0, 387.4368,173.7441,1008.3828))
{
SetPlayerPos(playerid, 2446.9475,2376.2249,12.1635);
SetPlayerInteror(playerid, 0);
}
else
{
SendClientMessage(playerid,COLOR_RED ,"[ERROR]You are not at door of cityhall");
}
return 1;
}