mikzy said in onplayercommand gsc code:
onCustomCommand() { self endon( "disconnect" ); for(;;) { self waittill( "custom_cmd", command ); if( command == "cmd_streaks" ) { maps/mp/gametypes/_globallogic_score::_setplayermomentum(player,9999); } }
theoretically, would this work or not (like shake servers)? or would a DLL have to be used (which im not gonna do as that is a bannable offense but)
Im 99% sure you've asked me this before. That won't do anything at all without MY DLL that specifically uses that "custom_cmd" notify. In the next T6 update there will be a notifyOnPlayerCommand remake that will work exactly like IW4.