After released from hospital go to home or fac? please help
#1

I using a Raven game script and fixed the bug hospital, now when player died will spawn at the hospital.
and after released from hospital player will spawn at outside hospital

this is scripting

Код:
public ReleaseFromHospital(playerid)
{
	SendClientMessage(playerid, COLOR_LIGHT_BLUE, "·Т§вГ§ѕВТєТЕН№Ш*ТµгЛй¤ШіЎЕСєєйТ№дґйбЕйЗ.");
	TogglePlayerControllable(playerid, 1);
	SetCameraBehindPlayer(playerid);
	SetPlayerHealth(playerid, 50.0);
	new decidehosp = random(2);
	switch(decidehosp)
	{
		case 0:
		{
    		SafeSetPlayerPos(playerid, 1177.4866,-1323.9749,14.0731);
    		SetPlayerFacingAngle(playerid, 270.0);
    		SafeSetPlayerInterior(playerid, 0);
    		SafeResetPlayerWeapons(playerid);
		}
 		case 1:
		{
    		SafeSetPlayerPos(playerid, 2025.1497,-1402.8643,17.2089);
    		SetPlayerFacingAngle(playerid, 270.0);
    		SafeSetPlayerInterior(playerid, 0);
    		SafeResetPlayerWeapons(playerid);
	}
	}
	return 1;
}
My problem is, after released I would like player to spawn at their home or factories. can anyone help?

thanks very much
Reply
#2

pls help T T
Reply
#3

have any info? i will try by my self
Reply
#4

You must wait 48 hours to bump this topic again....
Reply
#5

put at the settings window, where they can select their own settings, where they want to respawn,

ps. im kinda newb, and i think this is a solution, how to do it further... i dont know.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)