Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 7
1
2
3
>
Last
»
Showing results 1 to 25 of 161
Search took
0.03
seconds.
Search:
Posts Made By:
Whai
Forum:
Plugins
06-19-2021, 04:29
Replies:
20
[TF2] Be Robin Walker (v1.7.0, 13 March 2019)
Views:
11,482
Posted By
Whai
Re: [TF2] Be Robin Walker (v1.7.0, 13 March 2019)
Since it is getting too long but major issues were fixed, you can download the development version of my plugin (https://github.com/Wh4i/TF2-BeRobinWalker/archive/refs/heads/main.zip) from github...
Forum:
Plugins
05-07-2021, 12:51
Replies:
20
[TF2] Be Robin Walker (v1.7.0, 13 March 2019)
Views:
11,482
Posted By
Whai
Re: [TF2] Be Robin Walker (v1.7.0, 13 March 2019)
The index "9205" which is from [TF2Items] Give Weapon (https://forums.alliedmods.net/showthread.php?p=1337899) by FlaminSarge (https://forums.alliedmods.net/member.php?u=84304) is an index created by...
Forum:
Scripting
07-29-2020, 15:27
Replies:
3
Solved
[TF2] Spy Enforcer Weapon Attributes
Views:
1,460
Posted By
Whai
Re: [TF2] Spy Enforcer Weapon Attributes
I don't know if it is solved but did you try this ?
TF2Attrib_RemoveByDefIndex(weapon, 797);
Forum:
Scripting
11-20-2019, 18:06
Replies:
10
Solved
[TF2] Client game crash when the client get a weapon
Views:
3,227
Posted By
Whai
Re: [TF2] Client game crash when the client get a weapon
Ok, I found out the issue,
This is due to the attribute "min_viewmodel_offset" (index : 796) that made the client's game crash.
I just have to remove this attribute.
[EDIT]
...or just add...
Forum:
Scripting
11-20-2019, 11:40
Replies:
10
Solved
[TF2] Client game crash when the client get a weapon
Views:
3,227
Posted By
Whai
Re: [TF2] Client game crash when the client get a weapon
The reason that I didn't use tf2 econ data is because of this:
So, did you also test on a weapon wearable ? like the index 131 (The Chargin' Targe) ?
Forum:
Scripting
11-15-2019, 16:24
Replies:
10
Solved
[TF2] Client game crash when the client get a weapon
Views:
3,227
Posted By
Whai
Re: [TF2] Client game crash when the client get a weapon
It still crashing, I added this function right before the EquipPlayerWeapon()
TF2_SwitchtoSlot(iTarget, (!iSlot ? 2 : 0));
The game doesn't crash instantly but crashes when I switch to the new...
Forum:
Scripting
11-12-2019, 18:54
Replies:
10
Solved
[TF2] Client game crash when the client get a weapon
Views:
3,227
Posted By
Whai
[TF2] Client game crash when the client get a weapon
The client game crash (so not the server) when he is given a weapon
Here is a part of the code
bool TF2_GivePlayerItem(int iClient, int iTarget, int iItemID)
{...
Forum:
Scripting
08-14-2019, 04:20
Replies:
24
Solved
[TF2] Client is not in game bug
Views:
4,199
Posted By
Whai
Re: [TF2] Client is not in game bug
Yes I know it checks only when the player is not in-game anymore on the timer’s code block but I don’t know what I can do except adding IsClientInGame again
Forum:
Scripting
08-14-2019, 04:05
Replies:
24
Solved
[TF2] Client is not in game bug
Views:
4,199
Posted By
Whai
Re: [TF2] Client is not in game bug
GetClientOfUserId is supposed return 0 if the userid is not valid as I understood so it should return 0 if the client is not in-game. I suggest to add IsClientInGame before IsPlayerAlive
Forum:
Scripting
08-14-2019, 03:52
Replies:
24
Solved
[TF2] Client is not in game bug
Views:
4,199
Posted By
Whai
Re: [TF2] Client is not in game bug
Client 0 is the world/console
Forum:
Scripting
08-14-2019, 03:45
Replies:
24
Solved
[TF2] Client is not in game bug
Views:
4,199
Posted By
Whai
Re: [TF2] Client is not in game bug
You have to do that :
if ( iClient )
if ( !IsPlayerAlive( iClient ) )
TF2_RespawnPlayer( iClient );
Because your code checks the client index is not equal to 0 BUT also checks at the...
Forum:
Plugin/Gameplay Ideas and Requests
08-07-2019, 14:14
Replies:
3
Player suffers damage when touching another player
Views:
1,891
Posted By
Whai
Re: Player suffers damage when touching another player
That’s not what he wants, he wants a plugin when players touch each other getting damaged.
So we need to hook on touch and doing SDKHook_Damage function
Forum:
Scripting
07-13-2019, 13:46
Replies:
15
teleport
Views:
2,441
Posted By
Whai
Re: teleport
The "IsClientConnected" with "IsPlayerAlive" (I forgot about that) have to be after the comparison, because it would check on every client
Change "tp <client>" into "sm_tp <client>"
Forum:
Scripting
07-13-2019, 13:33
Replies:
15
teleport
Views:
2,441
Posted By
Whai
Re: teleport
Can you write you code in PHP quote ? because it is better with colors.
because you write in your console "tp" instead of "sm_tp" as I can see on your RegAdminCmd
Forum:
Scripting
07-13-2019, 13:18
Replies:
15
teleport
Views:
2,441
Posted By
Whai
Re: teleport
"IsClientConnected" should be before "IsPlayerAlive".
You have compared an integer with a string. You have to use GetClientName (https://sm.alliedmods.net/new-api/clients/GetClientName) to get the...
Forum:
Scripting
07-11-2019, 11:23
Replies:
6
How to change string into int?
Views:
1,767
Posted By
Whai
Re: How to change string into int?
Just do "if(args != 2)"
If you don't put the return Plugin_Handled, when you enter the command in console : it will say to you "Unknown command" even when the command is executed
Well, you...
Forum:
Scripting
07-11-2019, 07:34
Replies:
4
How to set up weapons ammo CSGO?
Views:
1,552
Posted By
Whai
Re: How to set up weapons ammo CSGO?
SetEntProp(weaponEnt, Prop_Send, "m_iPrimaryReserveAmmoCount", 0);
SetEntProp(weaponEnt, Prop_Send, "m_iSecondaryReserveAmmoCount", 0);
Change the 0 into another number ?
Forum:
Scripting
07-11-2019, 07:33
Replies:
11
How to get all the player a weapon?
Views:
2,461
Posted By
Whai
Re: How to get all the player a weapon?
if(IsClientInGame(i)
{
if(IsPlayerAlive(i)
{
}
}
Forum:
Scripting
07-10-2019, 19:52
Replies:
11
How to get all the player a weapon?
Views:
2,461
Posted By
Whai
Re: How to get all the player a weapon?
Sorri, I totally forgot : I made a mystake. You have to put the IsPlayerAlive after the IsClientInGame, else it will do errors on your server console
Forum:
Scripting
07-10-2019, 16:07
Replies:
11
How to get all the player a weapon?
Views:
2,461
Posted By
Whai
Re: How to get all the player a weapon?
I forgot to say you have to put "IsPlayerAlive" with the condition "IsClientInGame"
Forum:
Scripting
07-10-2019, 16:01
Replies:
10
[HELP] ERROR: function prototypes do not match
Views:
2,141
Posted By
Whai
Re: [HELP] ERROR: function prototypes do not match
Ok, now I know what you want,
Create a global array bool variable (name whatever you want like for exemple : "g_bTagHid") with the sizeof MAXPLAYERS + 1
On "public Action Command_hidetag(int...
Forum:
Scripting
07-10-2019, 14:34
Replies:
10
[HELP] ERROR: function prototypes do not match
Views:
2,141
Posted By
Whai
Re: [HELP] ERROR: function prototypes do not match
You do not need to put in
public Action Command_hidetag(int iClient, int sArgs)
just put in
public Action OnClientSayCommand(int iClient, const char[] sCommand, const char[] sArgs)
it will do...
Forum:
Scripting
07-10-2019, 14:32
Replies:
20
how can you scan a variable and then apply it?
Views:
2,864
Posted By
Whai
Re: how can you scan a variable and then apply it?
Here is the list of CSGO ConVars (https://developer.valvesoftware.com/wiki/List_of_CS:GO_Cvars)
A ConVar is just the abbreviation of Console Variable : it is like "sv_cheats", "mp_restartgame" et...
Forum:
Scripting
07-10-2019, 13:36
Replies:
10
[HELP] ERROR: function prototypes do not match
Views:
2,141
Posted By
Whai
Re: [HELP] ERROR: function prototypes do not match
Ok, now I understand what you're looking for, but you still don't need "if (StrEqual(sCommand, "say"))" for the same reason I said above.
Use instead :
if (StrEqual(sArgs, "!hidetag") ||...
Forum:
Scripting
07-10-2019, 13:30
Replies:
11
How to get all the player a weapon?
Views:
2,461
Posted By
Whai
Re: How to get all the player a weapon?
I think I should shut my mouth when I take people for a dummy (not mean to do). Sorry.
If you mean to give ammo, here is GivePlayerAmmo...
Showing results 1 to 25 of 161
Page 1 of 7
1
2
3
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
01:55
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode