View Single Post
Arthur.PinionGG
Senior Member
Join Date: Mar 2013
Old 09-20-2016 , 12:27   Re: Pinion Adverts [HTML5]
Reply With Quote #364

Quote:
Originally Posted by juss View Post
with this new part still not able to join in CSGO
switch (g_Game)
{
case kGameCSGO, kGameCSS, kGameBrainBread2:
FakeClientCommand(client, "joingame");
case kGameDODS, kGameND:
ClientCommand(client, "changeteam");
}


So I've changed it to this
switch (g_Game)
{
case kGameCSGO:
ClientCommand(client, "joingame");
case kGameCSS, kGameBrainBread2:
FakeClientCommand(client, "joingame");
case kGameDODS, kGameND:
ClientCommand(client, "changeteam");
}


probably "FakeClientCommand" doesn't work with CSGO , works good with "ClientCommand"
Just wanted to let you know, I've passed this onto our sourcemod developer and we're currently testing.
Arthur.PinionGG is offline