Raised This Month: $29 Target: $400
 7% 

Showing results 1 to 19 of 19
Search took 0.00 seconds.
Search: Posts Made By: poachedegg
Forum: Scripting 12-11-2018, 09:31
Replies: 3
Views: 902
Posted By poachedegg
Re: How to fix these plugin errors?

oic. You request a http and get it's body. Then used it in GetTrackValue. So your CMD_GetTrack should like:
public CMD_GetTrack(const String:sResult[], client)

then you use GetTrackValue like:...
Forum: Scripting 12-11-2018, 09:14
Replies: 3
Views: 902
Posted By poachedegg
Re: How to fix these plugin errors?

error 2
you can't return false or true in void function. delete ruturn true/false; or change 'void GetTrackValue' to 'bool GetTrackValue'


same as line 62.
function...
Forum: Scripting 12-11-2018, 09:11
Replies: 3
Views: 902
Posted By poachedegg
Re: How to fix these plugin errors?

The console tell you all the things. You Missed param1 'client' and param3 'sResult' by using function 'GetTrackValue'.

eg. line 71:
'GetTrackValue("ip", sip, sizeof(sip));' to ...
Forum: Scripting 12-11-2018, 08:49
Replies: 3
Views: 926
Posted By poachedegg
Re: [L4D2] Is there any way to get continuous or simultaneous keyboard input?

question 1.
Param 'buttons' stores all the buttons being pressed by bits.I don't know if I understand your question correctly. But if you mean do something when player press more than 2 buttons in...
Forum: General 12-09-2018, 10:17
Replies: 3
Views: 596
Posted By poachedegg
Re: Console spam

Not in this sp. In smrpg_effects/ignite.sp line 39.

If you really want to call this function when client is disconnecting, You should change

void ResetIgniteClient(int client, bool bDisconnect)...
Forum: General 12-09-2018, 09:53
Replies: 3
Views: 596
Posted By poachedegg
Re: Console spam

In short, your plugin want close a invalid handle in Line 39. Maybe like ClearHandle(HandleName); Check if this handle was already close before.

According to the function name, this handle maybe...
Forum: General 11-22-2018, 22:23
Replies: 13
Views: 2,101
Posted By poachedegg
Re: MOTD Improvements

you can use url parameter to send client's message to your website.

Such as:
www.yourweb.com/account.php?steamid=STEAM_0:1:?????&password=123456


And let account.php can SELECT client's...
Forum: General 11-19-2018, 22:22
Replies: 8
Views: 1,297
Posted By poachedegg
Re: How to change npc models using sourcemod?

For example:
make sure npc_combine_s is a valid entity classname which you want to set model.

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>

public OnMapStart()
{
...
Forum: General 11-19-2018, 22:16
Replies: 8
Views: 1,297
Posted By poachedegg
Re: How to change npc models using sourcemod?

//1.if(entity == index) //index is the entity's index you want to change model
//2.if ( StrEqual(classname, "classname")) //change "classname" to the entity's classname...
Forum: Scripting 11-19-2018, 21:43
Replies: 1
Views: 1,845
Posted By poachedegg
Re: [CSGO] Automatic edge jump

change a modifiable formal parameter you should return Plugin_Changed. I don't remember if OnPlayerRunCmd supports Plugin_Changed. You can have a try.

And if it doesn't support Plugin_Changed,...
Forum: Plugin/Gameplay Ideas and Requests 11-19-2018, 01:11
Replies: 2
Views: 352
Posted By poachedegg
Re: [REQ]ban for disconnecting from the game.

event "player_disconnect" can provide SteamId.
Forum: Scripting 11-18-2018, 22:07
Replies: 9
Views: 1,603
Posted By poachedegg
Re: HookEvent PlayerSpawned and RoundStart with commands

Maybe it's because sm_say is a console command, I thought.
Forum: Metamod:Source Plugins 11-18-2018, 21:56
Replies: 43
Views: 75,915
Posted By poachedegg
Re: CS:GO Max - Renables -maxplayers on command line, up to 64

very useful! I use it on my No More Room in Hell server, only need to remove icommandline.h.
Forum: General 11-18-2018, 21:48
Replies: 9
Views: 854
Posted By poachedegg
Re: Unknown error

look like translations files have false character code....
Forum: General 11-18-2018, 21:28
Replies: 8
Views: 1,297
Posted By poachedegg
Re: How to change npc models using sourcemod?

#include <sourcemod>
#include <sdktools>
#include <sdkhooks>

//attention: not On Plugin Start!
public OnMapStart()
{
//first: If it is not a Official model, make sure your clients have this...
Forum: Plugin/Gameplay Ideas and Requests 11-18-2018, 11:17
Replies: 3
Views: 1,263
Posted By poachedegg
Re: [NMRiH] Color Chat

maybe you need this function.

/**
* Returns whether the current say hook is a chat trigger.
*
* This function is only meaningful inside say or say_team hooks.
*
* @return True if a...
Forum: Scripting 11-18-2018, 10:58
Replies: 3
Views: 680
Posted By poachedegg
Re: [NMRIH] Admin/VIP tag on nickname

Like [Root]xeloximira, [Admin]xeloximira, [Vip]xeloximira?

#include<sourcemod>
#include<sdktools>

public void OnClientPostAdminCheck(int Client)
{
if(!IsFakeClient(Client))
{
char...
Forum: Plugins 11-18-2018, 10:03
Replies: 10
Views: 4,894
Posted By poachedegg
Forum: Plugins 11-18-2018, 09:41
Replies: 0
Views: 1,436
Posted By poachedegg
[NMRiH]Quick Unlock Kill Achievements

Introduction
This plugin help player unlock kill achievements. You don't need to kill zombies.Just open menu and choose the item. Then wait the f**king "The Manhattan Project" unlock.

Command...
Showing results 1 to 19 of 19

 
Forum Jump

All times are GMT -4. The time now is 06:43.


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