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

Showing results 1 to 25 of 44
Search took 0.00 seconds.
Search: Posts Made By: Patilus
Forum: SourceBans / SourceBans++ 11-29-2015, 12:35
Replies: 21
Views: 6,003
Posted By Patilus
Re: Unknown admin groups after gun mettle update.

Hello,

I just fix it on my servers.

The problem is the first line in the admin_groups.cfg file.
It has to start by "Groups" instead of "groups"

Enjoy !
Forum: Scripting 07-28-2011, 08:27
Replies: 10
Views: 2,246
Posted By Patilus
Re: Remplace weapon

Bump ...

Any function for find the weapon name with the id ?
Forum: Scripting 07-25-2011, 14:39
Replies: 10
Views: 2,246
Posted By Patilus
Re: Remplace weapon

I've alerady testing with TF2Items but i have a problem with it ...


new Handle:hItem = TF2Items_CreateItem(OVERRIDE_ALL);
TF2Items_SetClassname(hItem, "tf_weapon_pistol_scout");...
Forum: Scripting 07-25-2011, 13:04
Replies: 10
Views: 2,246
Posted By Patilus
Re: Remplace weapon

So, i've remove SDK :


#pragma semicolon 1

#include <sourcemod>
#include <sdktools>
#include <tf2_stocks>

public OnPluginStart()
Forum: Scripting 07-25-2011, 11:55
Replies: 10
Views: 2,246
Posted By Patilus
Re: Remplace weapon

How remplace WeaponEquip with the natives provided ?
I've only the name of the new weapon.



I don't realy give item to the player, i change his actuel weapon by a weapon in is bag, so i think...
Forum: Scripting 07-25-2011, 08:03
Replies: 10
Views: 2,246
Posted By Patilus
Remplace weapon

Hello,

I try to write a plugins for remplace a item by an other, this is my code :


#pragma semicolon 1

#include <sourcemod>
#include <sdktools>
#include <tf2_stocks>
Forum: Scripting Help 07-25-2011, 08:02
Replies: 1
Views: 772
Posted By Patilus
Remplace weapon

Sorry - bad section
Forum: Scripting 06-22-2011, 13:16
Replies: 3
Views: 948
Posted By Patilus
Re: String don't work ...

I've got the same error :


xx.sp(7) : error 035: argument type mismatch (argument 1)
xx.sp(14) : error 035: argument type mismatch (argument 2)
xx.sp(10) : warning 203: symbol is never used:...
Forum: Scripting 06-22-2011, 13:01
Replies: 3
Views: 948
Posted By Patilus
[Fixed] String don't work ...

Hello,

This code return errors ...

#include <sourcemod>
#include <sdktools>
#include <tf2_stocks>

public OnPluginStart()
{
Forum: Scripting 05-05-2010, 08:29
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Hello

I happen to debug your script =)

You have a solution for the value 8 is excluded from my random?

new TFClassType:class = TFClassType:GetRandomInt(1, 9);This is a good idea ?
new...
Forum: Scripting 05-03-2010, 15:30
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Do you found your error ?

I think, it's in :
if(clientBecameSniperAt[client] == 0
|| clientBecameSniperAt[client] + MAX_SNIPER_TIME + COOLDOWN_PERIOD < GetTime()) {But i...
Forum: Scripting 05-03-2010, 12:29
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

I changed classes at the end of TimerX, but I can resume immediately after the sniper ..
No error appear
Forum: Scripting 05-03-2010, 11:51
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

This is my script ....

http://pastebin.com/fQ9kgH7f
Forum: Scripting 05-03-2010, 11:26
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Sorry i'm very bad ... But it's a good idea ...

My script :

public Action:TimeLimit1(Handle:timer)
{
if(GetConVarInt(g_Cvar_Enabled) == 1)
{
for(new client = 1; client <=...
Forum: Scripting 05-03-2010, 10:49
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

I would like to do something in this kind :

public Action:Event_player_spawn(Handle:event, const String:name[], bool:dontBroadcast)
{
IF (TimeLimitY exists and it is not finished)
{
...
Forum: Scripting 05-03-2010, 10:36
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Can someone help me for the last part?

If TimeLimitY exists and it is not finished, so I run a command

Or another way to do this if you have one ....
Forum: Scripting 05-02-2010, 17:22
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

This plugin is challenge for me ... it's my first plugin :|

But I research several years ago, I applied, and nothing has emerged ...
So I'm trying to assembled small pieces ... and he left the...
Forum: Scripting 05-02-2010, 16:03
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

A Class Time Limit :twisted:

=> I started a timer on all the players who uses the class "sniper"
=> At the end of this counter, the player is changing class

Until then, this has everything...
Forum: Scripting 05-02-2010, 15:46
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Anyone know how to do the "During the timer"?
Forum: Scripting 05-02-2010, 13:00
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Humm, it'll be too easy =)

If the timer is set is that it is not finished, so I send my order,
as thou hast shown, the command is sent directly without taking into account the timer.

...
Forum: Scripting 05-02-2010, 12:07
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

One more thing on timers =)

For this script, the action is at the end of time :
public OnPluginStart()
{
CreateTimer(5.0, LoadStuff)
}

public Action:LoadStuff(Handle:timer)
{
Forum: Scripting 05-02-2010, 10:01
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

It's this!
Thank you very much!
Forum: Scripting 05-02-2010, 08:27
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Nothing happens ...
Forum: Scripting 05-02-2010, 08:09
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

I have no problems at compile time, but the script does not work ...
public OnMapStart( )
{
for(new client = 1; client <= MaxClients; client++)
{
if(IsClientConnected(client) &&...
Forum: Scripting 05-02-2010, 07:50
Replies: 32
Views: 5,203
Posted By Patilus
Re: [TF2]

Ok ......


for(new client = 1; client <= MaxClients; client++)
{
new TFClassType:class = TF2_GetPlayerClass(client);
if(class == TFClass_Sniper)
...
Showing results 1 to 25 of 44

 
Forum Jump

All times are GMT -4. The time now is 07:59.


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