thOuMta
29th December 2015, 10:10
Hello,
I try make !votemap_maprestart for exemple but with the old cod2 vote system nothing more.
case "votemap_maprestart":
self.id=self getEntityNumber();
self setClientCvar ("clientcmd", "say !votemap_maprestart");
self openMenu ("clientcmd");
self closeMenu ("clientcmd");
wait 0.1;
self openMenu(game["menu_callvote"]);
self ExecClientCmd( "callvote map_restart" );
wait 0.1;
self closeMenu(game["menu_callvote"]);
self thread tellmessage(self.name + " ^7CallVote map_rotate");
return;
If someone can tell me :) i think is " self ExecClientCmd( "callvote map_restart" ); "
Thanks.
I try make !votemap_maprestart for exemple but with the old cod2 vote system nothing more.
case "votemap_maprestart":
self.id=self getEntityNumber();
self setClientCvar ("clientcmd", "say !votemap_maprestart");
self openMenu ("clientcmd");
self closeMenu ("clientcmd");
wait 0.1;
self openMenu(game["menu_callvote"]);
self ExecClientCmd( "callvote map_restart" );
wait 0.1;
self closeMenu(game["menu_callvote"]);
self thread tellmessage(self.name + " ^7CallVote map_rotate");
return;
If someone can tell me :) i think is " self ExecClientCmd( "callvote map_restart" ); "
Thanks.