Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 95
Search took 0.01 seconds.
Search: Posts Made By: Shouldercannon
Forum: Scripting 03-13-2011, 06:10
Replies: 0
Views: 654
Posted By Shouldercannon
Counting killings

#include <sourcemod>

// Kills
new TotalKills;
new ConsecutiveKills[MAXPLAYERS + 1];
new LastKillCount[MAXPLAYERS + 1];
new LastKillTime[MAXPLAYERS + 1];

public Plugin:myinfo =
{
Forum: Plugins 03-12-2011, 08:36
Replies: 160
Views: 112,747
Posted By Shouldercannon
Re: Death Beam

update death_beam.games.txt
"Games"
{
"cstrike"
{
"Offsets"
{
"EyePosition"
{
"windows" "127"
Forum: Scripting 02-16-2011, 14:17
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

My Tick rate 66
Forum: Scripting 02-16-2011, 09:54
Replies: 2
Views: 1,234
Posted By Shouldercannon
Re: Parsing INI file

Very necessary.
Очень нужно.
Forum: Scripting 02-16-2011, 02:50
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

Namely 0.01 and not more. This worked on:
Server
Protocol version 15
Exe version 1.0.0.58 (cstrike)
Exe build: 16:53:44 Dec 15 2010 (4421) (240)

Metamod:Source version 1.8.5
Build ID:...
Forum: Scripting 02-15-2011, 08:57
Replies: 17
Views: 3,188
Posted By Shouldercannon
Re: [Help] Delay/Timer and Silent Command Execution.

public OnClientPutInServer(client)
{
PrintToChat(client, "Hello!, Please Wait 2 Seconds!");
CreateTimer(2.0, Timer_Advertise, client);
}

public Action:Timer_Advertise(Handle:timer,...
Forum: Scripting 02-15-2011, 03:50
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

I don't now. And is it necessary?
Forum: Scripting 02-15-2011, 03:28
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

This work if "m_flNextPrimaryAttack" = 0.01 else (> 0.01) no damage on fire.
SetEntPropFloat(zomg, Prop_Send, "m_flNextPrimaryAttack", (GetGameTime() + 0.01));
:)
Forum: Scripting 02-14-2011, 06:52
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

Rate of fire is, but no damages.
Скорострельность есть, а повреждений нет.
Forum: Scripting 02-13-2011, 12:31
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

This method did not fit, since I use a flag (bool) to enable / disable rapid fire for current player.
Данный способ я использовал и он не подошёл, так как я использую флаг (bool) для...
Forum: Scripting 02-13-2011, 11:59
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

The plugin is, but there are confusing everything.
Плагин есть, но там всё переплетено. Замучаешься выбивать.
Forum: Scripting 02-13-2011, 11:12
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

Leonardo, I see you're so clever, that even you can't help, only to criticize.
Forum: Scripting 02-13-2011, 09:04
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

Here's what happened, I do not know whether.
Вот что получилось, не знаю правильно ли.
public OnGameFrame()
{
for (new i = 1; i <= MaxClients; i++)
{
if (IsClientInGame(i) &&...
Forum: Scripting 02-12-2011, 06:45
Replies: 2
Views: 1,234
Posted By Shouldercannon
Parsing INI file

Please help to pars INI file.
Пожалуйста помогить пропарсить INI файл.
"STEAM_0:1:16" "a"
"STEAM_0:1:35" "b"
"STEAM_0:1:78" "abc"
Need to put on STEAM_ID variables and flags. Then when a client...
Forum: Scripting 02-11-2011, 03:40
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

...
public OnClientPutInServer(client)
{
SDKHook(client, SDKHook_PostThinkPost, OnPostThinkPost);
}
...
public OnPostThinkPost(client)
{
new zomg = GetPlayerWeaponSlot(client,...
Forum: Scripting 02-09-2011, 10:45
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

Что именно?
Forum: Scripting 02-09-2011, 10:02
Replies: 44
Views: 9,772
Posted By Shouldercannon
Re: Rapid Fire

Search for anything you want does not give
Forum: Scripting 02-09-2011, 08:44
Replies: 44
Views: 9,772
Posted By Shouldercannon
Rapid Fire

How do I change the rate of fire weapons?
Как изменить скорость стрельбы оружия, чтобы, например AWP стрелял со скорость AK-47? Подобное было сделано на ES (est_admin).
Forum: Scripting 02-09-2011, 01:52
Replies: 10
Views: 2,758
Posted By Shouldercannon
Re: Different languages and pages (Menus)

Format(buffer, sizeof(buffer), "%T", "fountain", client);
Forum: Scripting 02-08-2011, 13:22
Replies: 10
Views: 2,758
Posted By Shouldercannon
Re: Different languages and pages (Menus)

decl String:buffer[100];
mainmenu = CreateMenu(MainMenuHandler);
SetMenuTitle(mainmenu, "Test menu");
Format(buffer, sizeof(buffer), "%t", "Select1");
AddMenuItem(mainmenu, "_", buffer);...
Forum: Scripting 02-06-2011, 12:39
Replies: 2
Views: 855
Posted By Shouldercannon
Re: How set ammo for current player or team, of all players on timer?

Конкретно в обойме.
bool выручил
Forum: Scripting 02-06-2011, 12:11
Replies: 2
Views: 855
Posted By Shouldercannon
How set ammo for current player or team, of all players on timer?

How set ammo every five seconds for current player or team, of all players on timer?
Как пополнить патроны каждые пять секунд для конкретного игрока или команды, или всех сразу по таймеру?
Forum: Scripting 01-17-2011, 13:29
Replies: 3
Views: 863
Posted By Shouldercannon
Why is not work?

I want to set model.
#include <sourcemod>
#include <sdktools>
...
new Handle:hGameConf = INVALID_HANDLE;
new Handle:hSetModel;
...
public OnPluginStart()
{
hGameConf =...
Forum: Scripting 01-15-2011, 09:37
Replies: 9
Views: 2,839
Posted By Shouldercannon
Refill ammunition

How refill all ammunition (weapon primary and secondary).
So replenished only active weapons

new activeOffset = -1;
new clip1Offset = -1;
new clip2Offset = -1;
new secAmmoTypeOffset = -1;
new...
Forum: Scripting 01-13-2011, 08:51
Replies: 5
Views: 1,866
Posted By Shouldercannon
Re: Set weapon color

new ent;
ent = GetPlayerWeaponSlot(StringToInt(info), CS_SLOT_PRIMARY);
if (IsValidEntity(ent))
{
SetEntityRenderMode(ent, RENDER_TRANSCOLOR);
SetEntityRenderColor(ent, 255,...
Showing results 1 to 25 of 95

 
Forum Jump

All times are GMT -4. The time now is 14:50.


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