Help OnPlayerDeath
#4

Whuut?
PHP код:
PFOnPlayerSpawn(playerid)
{
    if(
IsPlayerInDM[playerid] == true)
    {
        
SetPlayerPos(playerid, -2050.0810547,-7609.0312500,2.2020721);
        
GivePlayerWeapon(playerid26900);
            
GivePlayerWeapon(playerid24900);
        
SetPlayerFacingAngle(playerid0);
    }
    else {
        
// Place Current spawn info here. Outside of DM
    
}
    return 
true;

This is better, no?
PHP код:
public OnPlayerSpawn(playerid)
{
    if(
IsPlayerInDM[playerid])
    {
        
SetPlayerPos(playerid, -2050.0810547,-7609.0312500,2.2020721);
        
GivePlayerWeapon(playerid26900);
        
GivePlayerWeapon(playerid24900);
        
SetCameraBehindPlayer(playerid);
    }
    return 
1;

Reply


Messages In This Thread
Help OnPlayerDeath - by EclipseWho - 22.06.2016, 20:09
Re: Help OnPlayerDeath - by Dayrion - 22.06.2016, 20:23
Re: Help OnPlayerDeath - by Lynn - 22.06.2016, 21:12
Re: Help OnPlayerDeath - by Dayrion - 22.06.2016, 21:24
Re: Help OnPlayerDeath - by Lynn - 22.06.2016, 21:26
Re: Help OnPlayerDeath - by Dayrion - 22.06.2016, 21:27
Re: Help OnPlayerDeath - by Lynn - 22.06.2016, 21:33
Re: Help OnPlayerDeath - by Vince - 22.06.2016, 21:43
Re: Help OnPlayerDeath - by Stinged - 22.06.2016, 21:44
Re: Help OnPlayerDeath - by EclipseWho - 23.06.2016, 22:24

Forum Jump:


Users browsing this thread: 2 Guest(s)