Raised This Month: $ Target: $400
 0% 

tag mismatch please help me


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mark0626
New Member
Join Date: Jun 2021
Old 06-10-2021 , 03:37   tag mismatch please help me
Reply With Quote #1

warning 213: tag mismatch

CMD: oldbiz(playerid, params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1338 )
{
new count, string[128], str[5200], name[24], filepath[32];
for(new i=0; i<MAX_BUSINESSES; i++)
{
if(count < 20)
{
format(name, sizeof(name), "%s", BizInfo[i][pBizKey]);
format(filepath, sizeof(filepath), "users/%s.ini", name);
if(strcmp("Nobody", name, true) && strcmp("None", name, true))
{

Last edited by mark0626; 06-10-2021 at 03:43.
mark0626 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-10-2021 , 04:03   Re: tag mismatch please help me
Reply With Quote #2

which line? what plugin?
We don't know what are you talking about.
At least post full function part or whole plugin.

AND USE [PHP] or [CODE] so we can read and help you
__________________
My plugin:

Last edited by Celena Luna; 06-10-2021 at 04:03.
Celena Luna is offline
mark0626
New Member
Join Date: Jun 2021
Old 06-10-2021 , 04:24   Re: tag mismatch please help me
Reply With Quote #3

format(name, sizeof(name), "%s", BizInfo[i][pBizKey]);

this line is my problem bro i dont know what is wrong btw this is pwn script

Last edited by mark0626; 06-10-2021 at 04:37.
mark0626 is offline
Celena Luna
Veteran Member
Join Date: Aug 2013
Location: Nagazora
Old 06-10-2021 , 05:01   Re: tag mismatch please help me
Reply With Quote #4

post-the-plugin
This is not enough information to know what wrong

My best guess is something wit BizInfo[i][pBizKey but that all I can see from what you give
__________________
My plugin:

Last edited by Celena Luna; 06-10-2021 at 05:03.
Celena Luna is offline
mark0626
New Member
Join Date: Jun 2021
Old 06-10-2021 , 05:34   Re: tag mismatch please help me
Reply With Quote #5

Code:
CMD:oldbiz(playerid, params[])
{
	if(PlayerInfo[playerid][pAdmin] >= 1338)
	{
	    new count, string[128], str[5200], name[24], filepath[32];
	    for(new i=0; i<MAX_BUSINESSES; i++)
	    {
	        if(count < 20)
	        {
				format(name, sizeof(name), "%s", BizInfo[i][pBizKey]);
				format(filepath, sizeof(filepath), "users/%s.ini", name);
				if(strcmp("Nobody", name, true) && strcmp("None", name, true))
				{
					if(!fexist(filepath))
					{
					    format(string, sizeof(string), "{FF0000}BID Inactive: {FFFFFF}%d    Player: %s\n",i,name);
					    strcat(str, string);
					    count ++;
					}
				}
			}
	    }
	    ShowPlayerDialog(playerid, DIALOG_SHOW_INFO, DIALOG_STYLE_MSGBOX, "{FF0000}Inactive Businesses", str, "Ok", "Cancel");
	}
	return 1;
}

Last edited by mark0626; 06-10-2021 at 05:47.
mark0626 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-10-2021 , 09:30   Re: tag mismatch please help me
Reply With Quote #6

Since those are global variables, it's not possible to know what is wrong with just that function. Please attach the .sma file.
__________________
fysiks is offline
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 06-11-2021 , 10:05   Re: tag mismatch please help me
Reply With Quote #7

for what game you're scripting? (just wonder)

Last edited by kww; 06-11-2021 at 10:07.
kww is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode