Raised This Month: $51 Target: $400
 12% 

[CSGO] Allow to buying Riot shield in competitive maps


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
namleww
Junior Member
Join Date: Mar 2022
Old 03-09-2022 , 05:34   [CSGO] Allow to buying Riot shield in competitive maps
Reply With Quote #1

I saw TheWarOwl video on playing competitive maps with Riot shield, but can't find his used plugin. I saw sekac comment about creating a hostage zone so that the game thinks it's a hostage map but I have no idea how to use this code. Please help.

Quote:
Originally Posted by sekac View Post
Now the shield is purchasable in game. game_type and game_mode need to be 0. Also a hostage zone is required which can be spawned in at map start in any map.

Code:
stock void CreateHostageRescue()
{
    int iEntity = -1;
    if((iEntity = FindEntityByClassname(iEntity, "func_hostage_rescue")) == -1) {
        int iHostageRescueEnt = CreateEntityByName("func_hostage_rescue");
        DispatchKeyValue(iHostageRescueEnt, "targetname", "fake_hostage_rescue");
        DispatchKeyValue(iHostageRescueEnt, "origin", "-3141 -5926 -5358");
        DispatchSpawn(iHostageRescueEnt);
    }
}
namleww is offline
 



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 07:08.


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