Nume plugin: Restricție Arme
Descriere: Restricționează anumite arme de pe server.
Autor: </xSaG>
Versiune: 1.0
Download: https://www81.zippyshare.com/v/c2Y8a7tQ/file.html
Restricție Arme
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
- xSaG
- Membru, skill +1
- Posts: 192
- Joined: 10 Aug 2017, 23:21
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
Ai nevoie de un plugin personalizat pentru CsGo? Ei bine eu ți-l pot face contra cost.
https://faceit.ro/
https://faceit.ro/
- Rainq
- Fost moderator
- Posts: 2800
- Joined: 21 Jul 2015, 18:50
- Detinator Steam: Da
- CS Status: Busy
- Detinator server CS: zm.thexforce.ro
- SteamID: mrainq
- Reputatie: Fost super moderator
Fost detinator ZM.eXtreamCS.COM
Fost Membru Club eXtreamCS (trei luni) - Fond eXtream: 0
- Location: www.thexforce.ro
- Has thanked: 31 times
- Been thanked: 59 times
- Contact:
poti sa faci sa restrictioneze unele arme dupa x runde ?

- xSaG
- Membru, skill +1
- Posts: 192
- Joined: 10 Aug 2017, 23:21
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Fond eXtream: 0
- Has thanked: 1 time
- Been thanked: 3 times
- Contact:
Înlocuieste :
Code: Select all
for(w = 0; w < size; w++)
{
Weapons.GetString(w, weapons_restricted, sizeof(weapons_restricted));
if(StrContains(weapon, weapons_restricted, false) != -1)
{
PrintToChat(client, "Această armă este restricționată!");
return Plugin_Handled;
}
}
Code: Select all
if(GetRoundCount() == ce runda vrei tu)
{
for(w = 0; w < size; w++)
{
Weapons.GetString(w, weapons_restricted, sizeof(weapons_restricted));
if(StrContains(weapon, weapons_restricted, false) != -1)
{
PrintToChat(client, "Această armă este restricționată!");
return Plugin_Handled;
}
}
}
Code: Select all
stock int GetRoundCount()
{
return GameRules_GetProp("m_totalRoundsPlayed");
}
Ai nevoie de un plugin personalizat pentru CsGo? Ei bine eu ți-l pot face contra cost.
https://faceit.ro/
https://faceit.ro/