21.07.2017, 08:13
Код:
stock PlayerPriority(playerid)
{
new string[128];
if(GetPVarInt(playerid, "Admin") >= 1) format(string, sizeof(string), "%s", GetPVarInt(playerid, "Admin");
else if(GetPVarInt(playerid, "Helper") == 1) format(string, sizeof(string), "%s", GetPVarInt(playerid, "Helper");
else if(GetPVarInt(playerid, "Helper") == 2) format(string, sizeof(string), "%s", GetPVarInt(playerid, "Admin");
else if(GetPVarInt(playerid, "ConnectTime") <= 8 && GetPVarInt(playerid, "Admin") == 0 && GetPVarInt(playerid, "Helper") == 0) format(string, sizeof(string), "Newbie");
else if(GetPVarInt(playerid, "ConnectTime") >= 8 && GetPVarInt(playerid, "Admin") == 0 && GetPVarInt(playerid, "Helper") == 0) format(string, sizeof(string), "Player");
else if(GetPVarInt(playerid, "ConnectTime") >= 500 && GetPVarInt(playerid, "Admin") == 0 && GetPVarInt(playerid, "Helper") == 0) format(string, sizeof(string), "Veteran");
else if(GetPVarInt(playerid, "ConnectTime") <= 60 && GetPVarInt(playerid, "Admin") == 0 && GetPVarInt(playerid, "Helper") == 0) format(string, sizeof(string), "Senior Player");
return string;
}
Код:
../gamemodes/Build.pwn(24623) : error 001: expected token: ",", but found ";" ../gamemodes/Build.pwn(24624) : error 001: expected token: ",", but found ";" ../gamemodes/Build.pwn(24625) : error 001: expected token: ",", but found ";" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 3 Errors. ================ READY ================

