Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 56
Search took 0.00 seconds.
Search: Posts Made By: Icetea16
Forum: Scripting 09-04-2015, 12:04
Replies: 3
Views: 1,720
Posted By Icetea16
Re: How to change entity name ?

Fixed sorry ^^'


Old:
Format(sTargetName, sizeof(sTargetName), "imprimante-%i-%i", GetClientUserId(StringToInt(sExplode[1])), iCurrentMoney);

Fix:
Format(sTargetName, sizeof(sTargetName),...
Forum: Scripting 09-04-2015, 11:59
Replies: 3
Views: 1,720
Posted By Icetea16
How to change entity name ?

Hello,

I tried to change name of my entity but no success ...

My code:

Code when i set the first name:
char sTargetName[128];
Format(sTargetName, sizeof(sTargetName),...
Forum: Scripting 07-24-2015, 14:24
Replies: 6
Views: 1,016
Posted By Icetea16
Re: Making textures and players black

you can use Fog Controller,
But if you are next to a wall, he is textured.
Forum: Scripting 07-24-2015, 09:25
Replies: 10
Views: 3,485
Posted By Icetea16
Re: New to sourcepawn, need help :<

Or i think you can use \x01 \x02 etc... in the translation file.
Forum: Scripting 07-24-2015, 08:53
Replies: 8
Views: 2,430
Posted By Icetea16
Re: SQL_Connect with SourceMod 1.7

Sorry, but i don't understand what do you want check it ...
Forum: Scripting 07-24-2015, 08:49
Replies: 10
Views: 3,485
Posted By Icetea16
Re: New to sourcepawn, need help :<

I think you can edit the text colors in translation files.
Forum: Scripting 07-24-2015, 08:36
Replies: 8
Views: 2,430
Posted By Icetea16
Re: SQL_Connect with SourceMod 1.7

char sError[128];
Handle hDatabase = SQL_Connect("sql", true, sError, sizeof(sError));

If (hDatabase == INVALID_HANDLE)
{
SQL_GetError(hDatabase, sError, sizeof(sError));
LogError(sError);
}
Forum: Scripting 07-23-2015, 19:11
Replies: 4
Views: 644
Posted By Icetea16
Forum: Scripting 07-23-2015, 15:06
Replies: 4
Views: 644
Posted By Icetea16
Re: Last 2 terrorist code not working [CSGO]

for(int i = 1; i < MaxClients; i++) if((GetPlayerCount() <= 2) && GetClientTeam(i) == CS_TEAM_T)

What is his ????

i don't understand why loop for is here...

#include <sdktools>
#include...
Forum: Plugins 07-21-2015, 17:46
Replies: 2
Views: 3,421
Posted By Icetea16
Re: [CSS] Cops And Runners (21-07-2015)

I not tested but it should be supported without the hud.

I would do an update for CS: GO :)
Forum: Plugins 07-21-2015, 17:11
Replies: 2
Views: 3,421
Posted By Icetea16
[CSS] Cops And Runners (21-07-2015)

============================================
[FR]
============================================

Description:
Dans Cops And Runners il y a deux équipes: Les coureurs et la police.
Les objectifs:...
Forum: Scripting 07-21-2015, 15:30
Replies: 15
Views: 3,974
Posted By Icetea16
Re: Finding a random player

if you have smlib:
Client_GetRandom(CLIENTIFILTER_ALIVE);

else

int random = GetRandomInt(1, GetMaxPlayers());

if (IsClientInGame(random) && IsPlayerAlive(random))
{
PrintToChatAll("The...
Forum: Scripting 07-21-2015, 14:04
Replies: 8
Views: 1,037
Posted By Icetea16
Re: Put players killed in menu!

But if I do that, regardless of the button you use the timer will stop.
Forum: Scripting 07-21-2015, 13:11
Replies: 6
Views: 735
Posted By Icetea16
Re: Hooking Event player_score

I found this event for tf2:



EDIT :

And this:
Forum: Scripting 07-21-2015, 13:09
Replies: 6
Views: 735
Posted By Icetea16
Re: Hooking Event player_score

when your score change, it when you kill another player, you can use player_death.
Forum: Scripting 07-21-2015, 13:01
Replies: 6
Views: 735
Posted By Icetea16
Re: Hooking Event player_score

Maybe this event does not work on some games.
Forum: Scripting 07-21-2015, 12:47
Replies: 26
Views: 3,792
Posted By Icetea16
Re: [CS:GO] Locks all buttons

I don't have any errors ^^'

but your welcome.
Forum: Scripting 07-21-2015, 12:45
Replies: 12
Views: 1,813
Posted By Icetea16
Re: New syntax

Exactly :)
Forum: Scripting 07-21-2015, 12:34
Replies: 8
Views: 1,037
Posted By Icetea16
Re: Put players killed in menu!

Tested and work for ba_jail_electric_razor_v6:

#pragma semicolon 1

#include <sourcemod>
#include <sdktools>

Handle hCvarsTimerOpen;
Handle hTimerOpen = INVALID_HANDLE;
int iTimerOpen = 0;
Forum: Scripting 07-21-2015, 12:21
Replies: 8
Views: 1,037
Posted By Icetea16
Re: Put players killed in menu!

yes why not wait few minutes ^^'
Forum: Scripting 07-21-2015, 12:17
Replies: 26
Views: 3,792
Posted By Icetea16
Re: [CS:GO] Locks all buttons

I found one solution:

Block the use command to the team CT or T

#include <cstrike>

public Action OnPlayerRunCmd(int client, int &buttons, int &impulse, float vel[3], float angles[3], int...
Forum: Scripting 07-21-2015, 11:38
Replies: 8
Views: 1,037
Posted By Icetea16
Re: Put players killed in menu!

test and work:

#include <sdktools>

bool iKilled[MAXPLAYERS + 1][MAXPLAYERS + 1];

public void OnPluginStart()
{
HookEvent("player_spawn", OnPlayerSpawn);
HookEvent("player_death",...
Forum: Scripting 07-21-2015, 09:55
Replies: 16
Views: 2,983
Posted By Icetea16
Re: % in string text

Ok, good explanation.

I did not know
Forum: Scripting 07-21-2015, 09:45
Replies: 16
Views: 2,983
Posted By Icetea16
Re: % in string text

Sa fonctionne

#include <sdktools>

#pragma newdecls required

#define pourcent '%'

public Action OnClientPreAdminCheck(int client)
{
Forum: Scripting 07-21-2015, 09:24
Replies: 16
Views: 2,983
Posted By Icetea16
Re: % in string text

Tien :

#include <sdktools>

#define pourcent '%'

public Action OnClientPreAdminCheck(int client)
{
CreateTimer(5.0, timer, _, TIMER_REPEAT);
}
Showing results 1 to 25 of 56

 
Forum Jump

All times are GMT -4. The time now is 21:19.


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