Raised This Month: $32 Target: $400
 8% 

KZ-Arg on AMXX 1.8.3


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
marcelowzd
Senior Member
Join Date: Feb 2011
Location: São Paulo, Brazil
Old 02-11-2018 , 15:30   KZ-Arg on AMXX 1.8.3
Reply With Quote #1

I'm trying to use KZ-Arg on AMXX 1.8.3 but i'm stuck with this "Tag Mismatch" problem.

I know i should post in the original thread but the author is not active anymore

PHP Code:
stock CsTeams:fm_get_user_team(id, &{CS_Internal_Models,_}:model CS_DONTCHANGE// Here
{
    
model CS_Internal_Models:get_pdata_int(id126OFFSET_LINUX);

    return 
CsTeams:get_pdata_int(id114OFFSET_LINUX);
}

stock fm_set_user_team(id, {CsTeams,_}:team, {CS_Internal_Models,_}:model CS_DONTCHANGE// Here
{
    if( !
is_user_connected(id) )
        return 
0;
    
    
set_pdata_int(id114_:teamOFFSET_LINUX);

    if(
model)
    {
        
set_pdata_intid126_:modelOFFSET_LINUX);
    }

    
dllfuncDLLFunc_ClientUserInfoChangedidengfuncEngFunc_GetInfoKeyBufferid ) );

    static const 
teams[] = { "UNASSIGNED""TERRORIST""CT""SPECTATOR" };

    
emessage_begin(MSG_BROADCASTg_teaminfo);
    
ewrite_byte(id);
    
ewrite_string(teams[_:team]);
    
emessage_end();
    
    return 
1;


I can't figure out what is wrong, it compiles fine under AMXX 1.8.1 (it was the last time i tested).
I didn't test under AMXX 1.8.2
marcelowzd is offline
aron9forever
Veteran Member
Join Date: Feb 2013
Location: Rromania
Old 02-12-2018 , 03:23   Re: KZ-Arg on AMXX 1.8.3
Reply With Quote #2

please point out the line with the mismatch
__________________
Meanwhile, in 2050:
Quote:
Originally Posted by aron9forever
useless small optimizations
Quote:
Originally Posted by Black Rose View Post
On a map that is 512x512x128 units you end up with 3,355,443,200,000 different "positions". To store each one of those positions individually in the variable "user_or" you need 12 terabytes of memory.
aron9forever is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-12-2018 , 04:19   Re: KZ-Arg on AMXX 1.8.3
Reply With Quote #3

CS_Internal_Models should be CsInternalModel instead.
__________________
klippy is offline
marcelowzd
Senior Member
Join Date: Feb 2011
Location: São Paulo, Brazil
Old 02-12-2018 , 06:18   Re: KZ-Arg on AMXX 1.8.3
Reply With Quote #4

Quote:
Originally Posted by aron9forever View Post
please point out the line with the mismatch
I pointed it, they are identified by the comments ("//Here")

Quote:
Originally Posted by KliPPy View Post
CS_Internal_Models should be CsInternalModel instead.
That was the problem, thanks.

Case solved.
marcelowzd 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:40.


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