Raised This Month: $ Target: $400
 0% 

TAG Miss match


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 04-28-2018 , 03:47   TAG Miss match
Reply With Quote #1

I am getting tag mis match error please any one tell how to fix


PHP Code:
public ShowMenuPlayers(id)
{
    new 
iMenu MakePlayerMenu(id"Choose Captain:""PlayersMenuHandler");

    
menu_setpropiMenuMPROP_NUMBER_COLOR"\r" );
    
menu_displayidiMenu );
    return 
0;
}

MakePlayerMenu(idString:szMenuTitle[], String:szMenuHandler[])
{
    new 
iMenu menu_create(szMenuTitleszMenuHandler);

    new 
iPlayersMAX_NAME_LENGTH ];
    new 
iNum;
    new 
iPlayer;
    new 
szPlayerNameMAX_NAME_LENGTH ];
    new 
szUserIdMAX_PLAYERS ];

    
get_players(iPlayersiNum"h");

    for(new 
i=0iNumi++)
    {
        
iPlayer iPlayers[i];

        if (
get_user_team(iPlayer) == 3)
        {
            
get_user_name(iPlayerszPlayerName31);
            
formatex(szUserId32"%d"get_user_userid(iPlayer));
            
menu_additem(iMenuszPlayerNameszUserId0, -1);
            
        }
        
    }
    return 
iMenu;

soumyadip77 is offline
Send a message via Skype™ to soumyadip77
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-28-2018 , 04:07   Re: TAG Miss match
Reply With Quote #2

String: is not used in AMXX, you are mixing up SourceMod and AMXX. When learning from other posts, take a look at what part of the forum is it found in.
__________________
klippy is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 04-28-2018 , 04:31   Re: TAG Miss match
Reply With Quote #3

high light the LINE i cant under stand what u wnat to tell ... and i dont know SourceMod i only know AMXX

Last edited by soumyadip77; 04-28-2018 at 04:32. Reason: spelling
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-28-2018 , 05:29   Re: TAG Miss match
Reply With Quote #4

Quote:
Originally Posted by soumyadip77 View Post
high light the LINE i cant under stand what u wnat to tell ... and i dont know SourceMod i only know AMXX
Are you unable to read or what?

Code:
MakePlayerMenu(id, String:szMenuTitle[], String:szMenuHandler[])
"String:" is used in sourcemod, not amxx. Remove that.
__________________

Last edited by HamletEagle; 04-28-2018 at 05:29.
HamletEagle is offline
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 04-28-2018 , 06:35   Re: TAG Miss match
Reply With Quote #5

Still working on pubwar? xD
__________________
CrAzY MaN is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 04-28-2018 , 21:46   Re: TAG Miss match
Reply With Quote #6

Then what i use in replace of string
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 04-28-2018 , 23:26   Re: TAG Miss match
Reply With Quote #7

Quote:
Originally Posted by soumyadip77 View Post
Then what i use in replace of string
You can try removing "String:"
__________________
CrAzY MaN is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-28-2018 , 23:31   Re: TAG Miss match
Reply With Quote #8

Quote:
Originally Posted by CrAzY MaN View Post
You can try removing "String:"
Nothing as there is no String type in amxx, remove "String:" anywhere it is used.
__________________
Bugsy is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-29-2018 , 05:19   Re: TAG Miss match
Reply With Quote #9

Quote:
Originally Posted by soumyadip77 View Post
Then what i use in replace of string
Remove means remove, not replace. So you just remove it without putting anything in it's place.
__________________
HamletEagle is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 04-28-2018 , 21:47   Re: TAG Miss match
Reply With Quote #10

Crazy in our India everyone try to make something different type of pub war
soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Reply


Thread Tools
Display Modes

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 04:36.


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