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

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Wyon
Forum: Scripting 06-29-2020, 19:18
Replies: 2
Views: 844
Posted By Wyon
Re: Issue Playing MP3 Files on Client Command

https://wiki.alliedmods.net/CSGO_Quirks#The_.22play.22_client_command
Forum: Scripting 07-24-2019, 15:25
Replies: 8
Views: 3,671
Posted By Wyon
Re: Passing string to CreateTimer Function

https://wiki.alliedmods.net/Timers_(SourceMod_Scripting)#Data_Packs
Forum: Plugin/Gameplay Ideas and Requests 07-16-2019, 10:00
Replies: 2
Views: 920
Posted By Wyon
Re: NameTag on scoreboard

You just need to add players userid to his nick?


#include <sourcemod>
#include <sdktools>

public void OnClientConnected(int iClient)
{
RenamePlayer(iClient);
}
Forum: Scripting 06-23-2019, 22:39
Replies: 4
Views: 1,525
Posted By Wyon
Re: Is there a better way to give multiple grenades?

It's index in m_iAmmo table, all player ammunition count is stored in that property
Forum: Scripting 06-23-2019, 10:14
Replies: 4
Views: 1,525
Posted By Wyon
Re: Is there a better way to give multiple grenades?

public void OnPluginStart()
{
HookEvent("player_spawn", Event_PlayerSpawn);
}

public Action Event_PlayerSpawn(Event event, const char[] name, bool dontBroadcast)
{
CreateTimer(0.5,...
Forum: Source Servers (SRCDS) 05-15-2019, 09:15
Replies: 8
Views: 10,358
Posted By Wyon
Re: Joining server issues

I am currently have same problem with my local server, it appeared after 5/14/2019 update
I already tried to reinstall both csgo client and server and that didnt fix this error...
Any thought on...
Forum: Scripting 03-19-2019, 13:49
Replies: 8
Views: 2,218
Posted By Wyon
Re: CharToLower()

Try this:

public Action OnClientCommand(int client, int args)
{
char cmd[16];
GetCmdArg(0, cmd, sizeof(cmd));

if (StrEqual(cmd, "help", false))
{
return...
Forum: Scripting 03-20-2018, 13:22
Replies: 5
Views: 1,204
Posted By Wyon
Re: Wrong Float Format

Rounding error... You probably can "hide" that by adding 0.000001 to float number
Forum: Scripting 03-02-2018, 02:10
Replies: 4
Views: 1,867
Posted By Wyon
Re: movement speed while scoped?

If you need to do that for all players you can simply change it in weapon configs (\csgo\scripts\items\items_game.txt)
"weapon_awp_prefab" > "attributes" > "max player speed alt"
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -4. The time now is 05:32.


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