thanks for trying to help but i still cant get it to work so instead of adding it to my plugin i just tried adding it to my server.cfg file but still no luck
Code:
//-----------------------------------------------
// Server Variables
//-----------------------------------------------
mp_autocrosshair 0
mp_flashlight 1
//mp_teamplay 11
mp_friendlyfire 1
mp_fraglimit 0
mp_timelimit 1440
sv_allowdownload 1
sv_allowupload 1
sv_cheats 1
sv_maxspectators 4
sv_maxrate 6000
sv_minrate 0
decalfrequency 30
fakelag 0
fakeloss 0
pausable 0
mp_autoteambalance 0
mp_limitteams 0
sv_limitteams 0