[Ajuda]Sistema
#1

eu estou tentando criar um sistema de hospital, mas ta fail

em OnPlayerDeath

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerPos(playerid, x, y, z);
    SetPlayerCameraPos(playerid, x, y, z);
    SetPlayerCameraLookAt(playerid, x, y, z);
    SetTimerEx("LiberarHospital", 10000, false, "i", playerid);
    return true;
}


public LiberarHospital(playerid)
{
    SetPlayerInterior(playerid, 0);
    SpawnPlayer(playerid);
    SetPlayerPos(playerid, x, y, z);
    return true;
}
Ele ta fazendo o player dar spawn em outro lugar e nao no local da Callback LiberarHospital e logo apos os 10 segundos se passarem ele da spawn no local do "liberarhospital'

ou seja, ta dando 3 spawn, eu queria apenas 2 "da callback Onplayerdeath" e da "liberar Hospital"
Reply


Messages In This Thread
[Ajuda]Sistema - by DrTHE - 26.12.2011, 12:39
Re: [Ajuda]Sistema - by Lуs - 26.12.2011, 12:52
Re: [Ajuda]Sistema - by DrTHE - 26.12.2011, 12:56
Re: [Ajuda]Sistema - by Ч iReadyTK є - 26.12.2011, 13:06
Re: [Ajuda]Sistema - by DrTHE - 26.12.2011, 13:15
Re: [Ajuda]Sistema - by Ч iReadyTK є - 26.12.2011, 13:22
Re: [Ajuda]Sistema - by DrTHE - 26.12.2011, 13:22
Re: [Ajuda]Sistema - by Lуs - 26.12.2011, 13:54

Forum Jump:


Users browsing this thread: 2 Guest(s)