Raised This Month: $32 Target: $400
 8% 

[CSGO, REQUEST] mp_restartgame on map start


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MatoBoost
Junior Member
Join Date: Apr 2016
Old 04-10-2017 , 14:15   [CSGO, REQUEST] mp_restartgame on map start
Reply With Quote #1

Hello,

I need really simple plugin: when map starts, I need plugin which will exec mp_restartgame 5 into console. That is all.

I need it because I am using Shavit bhoptimer, but there is some kind of a bug which causes whole game to restart when someone dies. It is possible to fix it by typing mp_restartgame into console, but my C++ skills are not enough for SourcePawn programming. (I simply don't know functions and stuff).
MatoBoost is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 04-10-2017 , 15:37   Re: [CSGO, REQUEST] mp_restartgame on map start
Reply With Quote #2

Try this.
Attached Files
File Type: sp Get Plugin or Get Source (5sec-restart.sp - 365 views - 670 Bytes)
File Type: smx 5sec-restart.smx (3.8 KB, 164 views)
__________________
Wilczek is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode