Raised This Month: $ Target: $400
 0% 

tag mismatch please help me


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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
 



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