==> OnPlayerDeath Help!<==
#9

Unclosed bracket:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    InHospital[playerid] = 1;
    if(InHospital[playerid] == 1)
    {
        SetPlayerPos(playerid , -320.0716 , 1049.2888 , 20.3403);
        SetTimer( "spawn" , 5000 , 0);
    }//Here
    return 1;
     
}
forward spawn(playerid);
public spawn(playerid)
{
   InHospital[playerid] = 0;
   SpawnPlayer(playerid);
   return 1;
}
EDIT: shit too late ;x
Reply


Messages In This Thread
==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 13:21
Re: ==> OnPlayerDeath Help!<== - by Konstantinos - 06.10.2013, 13:23
Re: ==> OnPlayerDeath Help!<== - by Matnix - 06.10.2013, 13:37
Re: ==> OnPlayerDeath Help!<== - by Iron3man - 06.10.2013, 13:58
Re: ==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 14:01
Re: ==> OnPlayerDeath Help!<== - by Iron3man - 06.10.2013, 14:05
Re: ==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 14:08
Re: ==> OnPlayerDeath Help!<== - by Iron3man - 06.10.2013, 14:12
Re: ==> OnPlayerDeath Help!<== - by QuaTTrO - 06.10.2013, 14:12
Re: ==> OnPlayerDeath Help!<== - by Heisenbergx2 - 06.10.2013, 14:17

Forum Jump:


Users browsing this thread: 2 Guest(s)