25.10.2010, 07:41
got 2 errors, fixed one of them tho couldn't figure out this one.
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");
Код:
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;
}
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");

