Raised This Month: $159 Target: $400
 39% 

Showing results 1 to 25 of 221
Search took 0.03 seconds.
Search: Posts Made By: LearninG
Forum: Scripting Help 11-29-2019, 14:07
Replies: 3
Views: 168
Posted By LearninG
Re: Need help with code

you should check if user is not gagged before printing chat , you need to register a simple native in gag plugin and return the value of array ( example : g_is_ggaged[id] ) to check if user is gagged...
Forum: Suggestions / Requests 11-29-2019, 10:39
Replies: 6
Views: 297
Posted By LearninG
Re: SQL result

no , it just reads the result , about number i'm not sure.
Forum: Suggestions / Requests 11-29-2019, 10:13
Replies: 6
Views: 297
Posted By LearninG
Re: SQL result

doesn't matter which name you choose for variables , the "=" symbol saves the query result into the variable so you can use the variable instead of calling the native multiple times.
Forum: Suggestions / Requests 11-29-2019, 10:03
Replies: 2
Views: 236
Posted By LearninG
Re: [Req] Cs 1.6 Get VIP Kill Health

#include <amxmodx>
#include <fun>

new const VERSION[] = "1.0"

#define VIP_FLAG ADMIN_IMMUNITY

new cvar_health

public plugin_init()
Forum: Suggestions / Requests 11-28-2019, 17:36
Replies: 2
Views: 146
Posted By LearninG
Re: plugin api

register native in plugin_natives forward

register_native( "sp_set_user_points" , "native_sp_set_user_points")

put the function in plugin

public native_sp_set_user_points(iPlugin , iParam)...
Forum: Scripting Help 11-28-2019, 09:49
Replies: 4
Views: 219
Posted By LearninG
Re: strfind error ?

try contain , containi

EDIT :

if (strfind(szIPPort,"27015") != -1)
Forum: Suggestions / Requests 11-26-2019, 07:19
Replies: 5
Views: 317
Posted By LearninG
Forum: Suggestions / Requests 11-25-2019, 11:09
Replies: 26
Views: 720
Posted By LearninG
Re: a little help | modify plugin

i don't understand what you are doing , but this is the correct way of checking each player :

public Check()
{
new players[32] , pnum , id

get_players(players , pnum , "hc") // do not...
Forum: Scripting Help 11-14-2019, 07:22
Replies: 12
Views: 468
Posted By LearninG
Re: FM_Time

set_task so much cpu usage... i was just thinking if i can do it properly with FM_Time
Forum: Scripting Help 11-14-2019, 02:26
Replies: 12
Views: 468
Posted By LearninG
Re: FM_Time

server frame is called many times per second while the ent think is almost called every 1 hour.

function will be called in a time between 00:00:00 and 00:00:10

#include <amxmodx>
#include...
Forum: Scripting Help 11-14-2019, 00:20
Replies: 12
Views: 468
Posted By LearninG
Re: FM_Time

I think this is better than hooking server_frame , but i thought if i can do something better with FM_Time

#include <amxmodx>
#include <engine>

#define THINK_TIME 1.0

new g_Classname[] =...
Forum: Scripting Help 11-13-2019, 10:55
Replies: 12
Views: 468
Posted By LearninG
Re: FM_Time

Excuting a function in an specific time. ( 4 AM for example )
Forum: Scripting Help 11-13-2019, 07:35
Replies: 12
Views: 468
Posted By LearninG
Re: FM_Time

no message in game

#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
register_forward(FM_Time , "fwFmTime")
}
Forum: General 11-12-2019, 23:40
Replies: 5
Views: 597
Posted By LearninG
Re: Help - Counter Strike 1.6

Zombie Plague: https://forums.alliedmods.net/showthread.php?t=72505?t=72505

For adding vips , admins : https://forums.alliedmods.net/showthread.php?t=317151

there are no actually named...
Forum: Scripting Help 11-12-2019, 15:12
Replies: 12
Views: 468
Posted By LearninG
FM_Time

I found no info about this forward after searching long time .
it is used in register_forward ( fakemeta )
can you give me some information about when it is called and how do you handle callback...
Forum: Suggestions / Requests 11-10-2019, 12:05
Replies: 4
Views: 617
Posted By LearninG
Re: Bullet damage (HP + Enemy name)

both victim ( who you attack to ) and attacker (who attacks you ) names on hud ?
Forum: Zombie Plague Mod 11-07-2019, 13:15
Replies: 12
Views: 770
Posted By LearninG
Re: DHUD ZP 5.0 info

remove the variable :

new g_MsgSync
Forum: Suggestions / Requests 11-07-2019, 13:12
Replies: 7
Views: 436
Posted By LearninG
Re: Cs 1.6 Base Builder Admin-Menu Request

what's problem with "amxmodmenu " ?
Forum: New Plugin Submissions 11-05-2019, 11:10
Replies: 114
Views: 12,485
Posted By LearninG
Re: Elite Admin System v6.0.0 [+Bans, Gags, Ranks System]

oh , slay/slap , sorry.

https://steamcommunity.com/id/LearninG67/
Forum: New Plugin Submissions 11-04-2019, 23:26
Replies: 114
Views: 12,485
Posted By LearninG
Re: Elite Admin System v6.0.0 [+Bans, Gags, Ranks System]

Line 291 and 294 , you are registering two same clcmd's in EliteAdminSystem_Commands.sma

some cs 1.6 may block commands like ( just like my cs 1.6 )

client_cmd(id , "name test") // Line 4218 (...
Forum: Suggestions / Requests 11-04-2019, 06:36
Replies: 3
Views: 136
Posted By LearninG
Re: Run time error 10

you were passing a function name which not even exist in your code , thats why you got runtime error.
Forum: Suggestions / Requests 11-04-2019, 06:31
Replies: 6
Views: 393
Posted By LearninG
Re: Remove granades at respawn

test this :

#include <amxmodx>
#include <cstrike>

const GRENADES = ( 1 << CSW_HEGRENADE ) | ( 1 << CSW_FLASHBANG ) | (1 << CSW_SMOKEGRENADE)

public plugin_init()
{...
Forum: Suggestions / Requests 11-04-2019, 05:59
Replies: 3
Views: 136
Posted By LearninG
Re: Run time error 10

there must be function named with "nanosuit_msg" :

public nanosuit_msg()
{

}
Forum: Suggestions / Requests 11-03-2019, 14:17
Replies: 1
Views: 241
Posted By LearninG
Re: set experience

register_logevent("Event_CTWin",6,"3=CTs_Win","3=All_Hostages_Rescued")
register_logevent("Event_TerroristWin",6,"3=Terrorists_Win","3=Target_Bombed")


public Event_CTWin()
{
new players[32]...
Forum: Suggestions / Requests 11-03-2019, 12:39
Replies: 6
Views: 393
Posted By LearninG
Re: Remove granades at respawn

It is automatic with :

ExecuteHamB(Ham_CS_RoundRespawn , id)


how are you respawning players ?
Showing results 1 to 25 of 221

 
Forum Jump

All times are GMT -4. The time now is 15:38.


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