View Single Post
Author Message
Mankled
Senior Member
Join Date: Oct 2019
Old 12-08-2020 , 23:06   problem with fm_cs_get_user_team
Reply With Quote #1

im getting this error from my main zp plugin

Code:
L 12/06/2020 - 06:12:12: [AMXX] Displaying debug trace (plugin "zombie_plague.amxx", version "4.3")
L 12/06/2020 - 06:12:12: [AMXX] Run time error 10: native error (native "get_pdata_int")
L 12/06/2020 - 06:12:12: [AMXX]    [0] zombie_plague.sma::fm_cs_get_user_team (line 13097)
L 12/06/2020 - 06:12:12: [AMXX]    [1] zombie_plague.sma::clcmd_changeteam (line 3537)
line 13097
Code:
stock fm_cs_get_user_team(id)                                                         13095
{                                                                                                     13096
return get_pdata_int(id, OFFSET_CSTEAMS, OFFSET_LINUX);              13097
}
line 3537
Code:
static team                                           3536
team = fm_cs_get_user_team(id)          3537
this is what i tried to do to fix it
https://forums.alliedmods.net/showthread.php?t=149797

after I did this above. players in my server are having a problem to select their team. when they connect to the server, they are no able to select a team and they stay as spectator. even if they press M to choose a team they cant spawn.
Mankled is offline