Spec bug
#1

hello guys i'm developing a gamemode wich is DM RACE ,
when the player die he should be specing other players till the race finish but the problem is that the player doesn't spec when he die but he spawn !

tried this but still not working

PHP код:
public OnPlayerDeath(playeridkilleridreason){
    if(
GetServerCount() > 1)
    {
        
SetPVarInt(playerid"Dead"1);
        
PlayerSpectateVehicle(playeridGetRandomPlayer(playerid));
    } else
    if(
GetServerCount() == 1)
    {
        
ProgressForMap();
    }
    return 
true;

Reply


Messages In This Thread
Spec bug - by houssam501 - 01.09.2015, 15:57
Re: Spec bug - by Evocator - 01.09.2015, 17:34
Re: Spec bug - by houssam501 - 01.09.2015, 19:32
Re: Spec bug - by ChristolisTV - 01.09.2015, 19:38
Re: Spec bug - by houssam501 - 01.09.2015, 21:41
Re: Spec bug - by houssam501 - 02.09.2015, 13:38
Re: Spec bug - by Nixtren - 02.09.2015, 15:26
Re: Spec bug - by houssam501 - 02.09.2015, 15:38
Re: Spec bug - by houssam501 - 03.09.2015, 12:43

Forum Jump:


Users browsing this thread: 3 Guest(s)