Raised This Month: $535 Target: $400
 133% 

[CSGO] Allow to buying Riot shield in competitive maps


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
namleww
Junior Member
Join Date: Mar 2022
Old 03-09-2022 , 06: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
namleww
Junior Member
Join Date: Mar 2022
Old 03-09-2022 , 06:35   Re: [CSGO] Allow to buying Riot shield in competitive maps
Reply With Quote #2

I was able to spawn a shield but can't pick up, maybe problem with the game see that it's not a hostage map?
namleww is offline
Franc1sco
Veteran Member
Join Date: Oct 2010
Location: Spain (Madrid)
Old 03-09-2022 , 07:47   Re: [CSGO] Allow to buying Riot shield in competitive maps
Reply With Quote #3

You tried this plugin? this worked on my server https://forums.alliedmods.net/showpo...39&postcount=5
__________________
Veteran SourceMod Coder -> Activity channel
Taking paid and free jobs.
Contact: Steam, Telegram or discord ( Franc1sco#7876 ).

You like my work? +Rep in my steam profile comments or donate.


Last edited by Franc1sco; 03-09-2022 at 07:48.
Franc1sco is offline
Send a message via MSN to Franc1sco
Reply


Thread Tools
Display Modes

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 19:54.


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