02.10.2013, 12:52
Estou com uma erro no format e nгo consigo resolver:
Код:
case DIALOG_ORGS: { new Str[128]; if(response) { PlayerInfo[playerid][pOrganizacao] = GetPVarInt(playerid, "OrgConvidado"); PlayerInfo[playerid][pCargo] = 1; format(Str, sizeof(Str), "%s aceitou seu Convite.", PlayerName);//ERRO SendClientMessage(GetPVarInt(playerid, "QuemConvidou"), COR_SKYBLUE, Str); format(Str, sizeof(Str), "%s й o mais novo membro da Organizaзгo.", PlayerName);//ERRO SendFamilyMessage(PlayerInfo[playerid][pOrganizacao], GetPlayerColor(playerid), Str); SendClientMessage(playerid, COR_SKYBLUE, "Vocк aceitou o Convite."); DeletePVar(playerid, "OrgConvidado"); DeletePVar(playerid, "QuemConvidou"); SpawnPlayer(playerid); } else { format(Str, sizeof(Str), "%s rejeitou seu Convite.", PlayerName);//ERRO SendClientMessage(GetPVarInt(playerid, "QuemConvidou"), COR_SKYBLUE, Str); SendClientMessage(playerid, COR_SKYBLUE, "Vocк rejeitou o Convite."); DeletePVar(playerid, "OrgConvidado"); DeletePVar(playerid, "QuemConvidou"); } }
Код:
C:\Users\\Desktop\\gamemodes\(474) : error 076: syntax error in the expression, or invalid function call C:\Users\\Desktop\\gamemodes\(476) : error 076: syntax error in the expression, or invalid function call C:\Users\\Desktop\\gamemodes\(485) : error 076: syntax error in the expression, or invalid function call