11.09.2011, 13:47
Could someone explain why I am getting a tag mismatch? It's strange, Here:
And Here. if someone could correct the codes and explain why they don't work that way I can learn.
I don't understand why I am getting a tag mismatch.
Thanks in advance.
Quote:
GetPlayerArmour(playerid, armour); MySQL_SetValue(PlayerSQLID[playerid], "Armour", armour, "Accounts"); |
Quote:
CMDetfactionent(playerid, params[]) { if(LoggedIn[playerid] == 0) return SendClientMessage(playerid, COLOUR_GREY, "You must be logged in to use this command."); new ID; if(AdminLevel[playerid] < 4) return SendClientMessage(playerid, COLOUR_GREY, "You are not authorized to use this command."); if(ID < 1 || ID > MAX_FACTIONS) return SendClientMessage(playerid, COLOUR_GREY, "Invalid faction id."); if(sscanf(params, "d", ID)) return SendClientMessage(playerid, COLOUR_GREY, "Usage: /setfactionent [factionid]"); new factionid; factionid = MySQL_GetValue(FactionSQLID[id], "FactionID", "factions"); new Float: x, Float: y, Float: z; GetPlayerPos(playerid, x, y, z); FactionEntX[factionid] = x; FactionEntY[factionid] = y; FactionEntZ[factionid] = z; MySQL_SetValue(FactionSQLID[factionid], "FactionEntX", x, "factions"); MySQL_SetValue(FactionSQLID[factionid], "FactionEntY", y, "factions"); MySQL_SetValue(FactionSQLID[factionid], "FactionEntZ", z, "factions"); new string[128]; format(string, sizeof(string), "You have set %s's entrance", FactionName[factionid]); SendClientMessage(playerid, COLOUR_LIGHTBLUE, string); return 1; } |
Quote:
C:\Users\berni\Desktop\Zombie Mode\gamemodes\rp.pwn(236) : warning 213: tag mismatch C:\Users\berni\Desktop\Zombie Mode\gamemodes\rp.pwn(503) : warning 213: tag mismatch C:\Users\berni\Desktop\Zombie Mode\gamemodes\rp.pwn(504) : warning 213: tag mismatch C:\Users\berni\Desktop\Zombie Mode\gamemodes\rp.pwn(505) : warning 213: tag mismatch |