Why does this place me at blueberry farms?
#1

I've specifically chose the position and it won't set it to it. I set all the camera pos etc by getting the co-ords manually.

pawn Код:
stock dohospital(playerid)
{
    if(Hospitalized[playerid] == 1)
    {
                ResetPlayerWeapons(playerid);
                SetPlayerHealth(playerid, 100);
                TogglePlayerControllable(playerid, false);
                SetPlayerPos(playerid,-319.1807, 1044.5845, 27.0152);
                SetPlayerVirtualWorld(playerid, 0);
                SetPlayerInterior(playerid, 0);
                SetPlayerCameraPos(playerid, -315.1983, 1064.2436, 19.5937);
                SetPlayerCameraLookAt(playerid, -319.19,1050.22,20.3403);
                SendClientMessage(playerid, COLOUR_WHITE, "You are recovering in hospital.");
                SendClientMessage(playerid, COLOUR_WHITE, "You will be released shortly. ((Revenge killing is against the server rules)).");
        }
    return 1;
}
Reply


Messages In This Thread
Why does this place me at blueberry farms? - by Dokins - 30.11.2011, 20:17
Re: Why does this place me at blueberry farms? - by [MG]Dimi - 30.11.2011, 22:01
Re: Why does this place me at blueberry farms? - by Rob_Maate - 30.11.2011, 23:15

Forum Jump:


Users browsing this thread: 1 Guest(s)