[Ajuda] Nascer Hospital
#10

Quote:
Originally Posted by MrBrownstone
Посмотреть сообщение
Mais como tiro o timer ?
Nгo cara, seguinte, esse seu "OnPlayerSpawn" estб configurado para setar a posiзгo do Player quando ele Spawnar, o seu Script de Hospital nгo da certo pois apуs vocк mandб-lo para o Hospital ele Respawna, para corrigir isso vocк precisa mandar ele de volta para o Hosp, tente o cуdigo que eu mandei.. :

Na OnPlayerDeath coloque isto:

Код:
SetTimer("IrHospital", 4300, false);
E coloque este resto antes da "OnGameModeInit"..

Код:
forward IrHospital(playerid);
public IrHospital(playerid)
{
        SetPlayerPos(playerid, X, Y, Z); //Troque o "X", o "Y" e o "Z" pelas coordenadas do hospital.
	return 1;
}
Se nгo funcionar me avisa..
Reply


Messages In This Thread
Nascer Hospital - by MrBrownstone - 20.06.2013, 15:46
Re: Nascer Hospital - by [THs]ShadoW - 20.06.2013, 16:24
Re: Nascer Hospital - by MrBrownstone - 20.06.2013, 16:26
Re: Nascer Hospital - by [THs]ShadoW - 20.06.2013, 16:26
Re: Nascer Hospital - by MrBrownstone - 20.06.2013, 16:29
Re: Nascer Hospital - by [THs]ShadoW - 20.06.2013, 16:32
Re: Nascer Hospital - by MrBrownstone - 20.06.2013, 16:34
Re: Nascer Hospital - by [THs]ShadoW - 20.06.2013, 16:48
Re: Nascer Hospital - by MrBrownstone - 20.06.2013, 16:53
Re: Nascer Hospital - by [THs]ShadoW - 20.06.2013, 16:57

Forum Jump:


Users browsing this thread: 1 Guest(s)