Jump to content
  • 0

tag mistmatch


ImTouchk

Question

Problema intalnita (descriere):Primest warning-urile TAG MISMATCH si NUMBER OF ARGUMENTS DOES NOT MATCH THE DEFINITIONS.
Ero(area / rile) / warning-(ul / urile):

C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1394) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1394) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1394) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1395) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(1406) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2215) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2215) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2215) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(2296) : warning 202: number of arguments does not match definition
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3939) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3940) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3941) : warning 213: tag mismatch
C:\Users\mugur\Desktop\MAIN-ROLEPLAY\gamemodes\mysql.pwn(3942) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


13 Warnings.


Liniile de cod / sursa / script-ul(obligatoriu):

1394     GetPlayerPos( playerid, PlayerInfo[playerid][PosX], PlayerInfo[playerid][PosY], PlayerInfo[playerid][PosZ] );
1395     GetPlayerFacingAngle( playerid, PlayerInfo[playerid][Angle] );

1406     INI_WriteInt(File,"Rank",PlayerInfo[playerid][fRank]);

Codul de mai jos care nu merge cum trebuie cand il folosesti:

CMD:mdc(playerid, params[])
{
	new targetid;
	new targetn[MAX_PLAYER_NAME];
	new playern[MAX_PLAYER_NAME];
	new str[800];
	GetPlayerName(targetid, targetn, MAX_PLAYER_NAME);
	GetPlayerName(playerid, playern, MAX_PLAYER_NAME);
	if(PlayerInfo[playerid][pFaction] != 1) return SendClientMessage(playerid, -1, "Nu esti politist.");
	if(sscanf(params,"u",targetid)) return SendClientMessage(playerid, COLOR_PURPLE, "!{FFFFFF}: /mdc [playerid]");
	if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_PURPLE, "!{FFFFFF}: Nu se poate identifica numele dat! (( ID Invalid ))");
	format(str, sizeof(str), "> Mobile Computer Data...");
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> (( Date id %d ))", targetid);
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> CNP: %d", PlayerInfo[targetid][pCNP]);
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> Bani in cont bancar: %d", PlayerInfo[targetid][pBank]);
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> Arestat: %d", PlayerInfo[targetid][pJailed]);
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> In urmarire: %d", PlayerInfo[targetid][pSearched]);
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> Casa detinuta: %d", PlayerInfo[targetid][pHouse]);
	SendClientMessage(playerid, -1, str);
2215	format(str, sizeof(str), "> Coordonatele actuale: %d", GetPlayerPos(targetid));
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> Telefon detinut: %d", PhoneInfo[targetid][pOwned]);
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "> Numar de telefon: %d", PhoneInfo[targetid][pNumber]);
	SendClientMessage(playerid, -1, str);
	format(str, sizeof(str), "%s deschide computerul portabil.", playern);
	ProxDetector(50.00, playerid,str,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
	return 1;
}

3939 - 3942  INI_Float( "PositionX", PlayerInfo[playerid][PosX]);
    INI_Float( "PositionY", PlayerInfo[playerid][PosY]);
    INI_Float( "PositionZ", PlayerInfo[playerid][PosZ]);
    INI_Float( "Angle", PlayerInfo[playerid][Angle]);
Imagini / Video (optional):
Ati incercat sa rezolvati singur?: Da. Nu gasesc nimic care sa fie pentru warning, mai ales in format. Il folosesc mai peste tot si numai aici primesc warning-uri. Daca mai sunt linii ce nu le-am dat, inseamna ca nu mai am nevoie de ajutor la ele.

:D

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.