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

Showing results 1 to 25 of 223
Search took 0.01 seconds.
Search: Posts Made By: LearninG
Forum: Scripting Help 09-10-2021, 08:29
Replies: 5
Views: 733
Posted By LearninG
Re: What does mean ampersands and dots before variable name?

Yes , right. actually when i see posts of @HamletEagle , @Bugsy @Arkshine @Hawk @PM , @Emp , @BAILOPAN and some others... i say myself i am going to learn a new thing and definitely a correct one. i...
Forum: Off-Topic 09-05-2021, 12:18
Replies: 0
Views: 2,208
Posted By LearninG
AMXX Developer

asking thread to be deleted
Forum: Scripting Help 11-29-2019, 13:07
Replies: 3
Views: 759
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, 09:39
Replies: 6
Views: 1,120
Posted By LearninG
Re: SQL result

no , it just reads the result , about number i'm not sure.
Forum: Suggestions / Requests 11-29-2019, 09:13
Replies: 6
Views: 1,120
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, 09:03
Replies: 2
Views: 1,053
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, 16:36
Replies: 2
Views: 592
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, 08:49
Replies: 4
Views: 1,042
Posted By LearninG
Re: strfind error ?

try contain , containi

EDIT :

if (strfind(szIPPort,"27015") != -1)
Forum: Suggestions / Requests 11-26-2019, 06:19
Replies: 5
Views: 1,051
Posted By LearninG
Forum: Suggestions / Requests 11-25-2019, 10:09
Replies: 26
Views: 3,015
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, 06:22
Replies: 12
Views: 2,487
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, 01:26
Replies: 12
Views: 2,487
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-13-2019, 23:20
Replies: 12
Views: 2,487
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, 09:55
Replies: 12
Views: 2,487
Posted By LearninG
Re: FM_Time

Excuting a function in an specific time. ( 4 AM for example )
Forum: Scripting Help 11-13-2019, 06:35
Replies: 12
Views: 2,487
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, 22:40
Replies: 5
Views: 2,179
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, 14:12
Replies: 12
Views: 2,487
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, 11:05
Replies: 5
Views: 1,938
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, 12:15
Replies: 16
Views: 6,289
Posted By LearninG
Re: DHUD ZP 5.0 info

remove the variable :

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

what's problem with "amxmodmenu " ?
Forum: New Plugin Submissions 11-05-2019, 10:10
Replies: 179
Views: 70,768
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, 22:26
Replies: 179
Views: 70,768
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, 05:36
Replies: 3
Views: 789
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, 05:31
Replies: 6
Views: 1,467
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, 04:59
Replies: 3
Views: 789
Posted By LearninG
Re: Run time error 10

there must be function named with "nanosuit_msg" :

public nanosuit_msg()
{

}
Showing results 1 to 25 of 223

 
Forum Jump

All times are GMT -4. The time now is 07:31.


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