Spectating the player who killed.
#5

got 2 errors, fixed one of them tho couldn't figure out this one.

Код:
public respawnCounter(playerid)
{
    new string[21];
    format(string, sizeof(string), "Respawning in %d", GetPVarInt(playerid, "rCount");
    GameTextForPlayer(playerid, string, 1000, 4);
    if(GetPVarInt(playerid, "rCount") == 0)
    {
        TogglePlayerSpectating(playerid, 0);
        KillTimer(spectateTimer[playerid]);
    }
    return 1;
}
error:
C:\Documents and Settings\Hayden Bruin\Desktop\Haydz\Courtroom DM\gamemodes\CourtroomDM.pwn(405) : error 001: expected token: ",", but found ";"

(line 405) format(string, sizeof(string), "Respawning in %d", GetPVarInt(playerid, "rCount");
Reply


Messages In This Thread
Spectating the player who killed. - by Haydz - 25.10.2010, 07:24
Re: Spectating the player who killed. - by SampStunta - 25.10.2010, 07:31
Re: Spectating the player who killed. - by SampStunta - 25.10.2010, 07:34
Re: Spectating the player who killed. - by Retardedwolf - 25.10.2010, 07:37
Re: Spectating the player who killed. - by Haydz - 25.10.2010, 07:41
Re: Spectating the player who killed. - by Retardedwolf - 25.10.2010, 08:01

Forum Jump:


Users browsing this thread: 1 Guest(s)