I’m editing DarkRp cause I’m bored right now and I’ve run into a bit on trouble. I want a menu to popup when the player becomes a Mayor. This is what I have so far
function GM:OnPlayerChangedTeam( ply, oldteam, newteam )
if ( newteam == TEAM_MAYOR ) then
I didn’t really change anything from the function from the wiki and ItWorkd doesn’t show up and console and I am not getting any errors. Any help would be appreciated.