[Ajuda]Sistema
#2

Quote:
Originally Posted by Mata_Noob
Посмотреть сообщение
Tente assim:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerPos(playerid, x, y, z);
    SetPlayerCameraPos(playerid, x, y, z);
    SetPlayerCameraLookAt(playerid, x, y, z);
    SetTimer("LiberarHospital", 10000, false);
    return true;
}


public LiberarHospital(playerid)
{
    SetPlayerInterior(playerid, 0);
    SpawnPlayer(playerid);
    SetPlayerPos(playerid, x, y, z);
    return true;
}
Pra que SetTimerEx? Tente ae '-' Vai ver que й isso... Ou se nгo poste toda sua Public OnPlayerDeath
SetTimerEx pois ele estб usando parвmetros na public. Caso contrбrio, nгo irб funcionar.

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)
{
    SpawnPlayer(playerid);
    return true;
}
Apenas deixe assim.
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: 4 Guest(s)