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 5
1
2
3
>
Last
»
Showing results 1 to 25 of 116
Search took
0.01
seconds.
Search:
Posts Made By:
LondoN
Forum:
Scripting Help
10-18-2021, 07:05
Replies:
16
...
Views:
2,277
Posted By
LondoN
Re: Ham_Touch
As i can see you are try to compare a string with an entity id.
i think correct should be
new ent = engfunc...create ent
public ham_touch(parms)
{
if(iEntity == ent)
{
Forum:
Scripting Help
05-14-2021, 12:42
Replies:
2
player models bug
Views:
689
Posted By
LondoN
Re: player models bug
found the solution
new hModel[32];
formatex(hModel, charsmax(hModel), "%s", g_hDBModels[g_hPlayerModel]);
cs_set_user_model(id, hModel);
this is the solution.
Forum:
Scripting Help
05-14-2021, 12:30
Replies:
2
player models bug
Views:
689
Posted By
LondoN
player models bug
#include < amxmodx >
#include < amxmisc >
#include < cstrike >
#include < hamsandwich >
#define PLUGIN "Player Models"
#define VERSION "1.0"
#define AUTHOR "LondoN eXtream"
#define...
Forum:
Scripting Help
05-09-2021, 17:06
Replies:
16
Entity solidity specified
Views:
1,812
Posted By
LondoN
Re: Entity Solidity ?
i think the big 'changes' will be into a "register_touch"
and then play with pev_solid
Forum:
Scripting Help
05-09-2021, 16:44
Replies:
5
Solved
team score
Views:
583
Posted By
LondoN
Re: team score
he said team score [rounds] not player score
enum ScoreData
{
TERO_SCORE = 0,
TERO_SCORE_AFTER_SWAP,
CT_SCORE,
CT_SCORE_AFTER_SWAP
};
Forum:
Scripting Help
05-07-2021, 16:04
Replies:
5
str_to_num question
Views:
758
Posted By
LondoN
Re: str_to_num question
strbeak or parse will resolve your problem.
you need to elimitate the ":" from the string.
Also replace get_time with time(h,m,s).
And after this use str_to_num.
If you dont want,...
Forum:
Scripting Help
05-05-2021, 04:30
Replies:
4
Solved
check a string from enum
Views:
694
Posted By
LondoN
Re: check a string from enum
you can use strlen too.
Forum:
Scripting Help
05-03-2021, 17:54
Replies:
7
Solved
sql save problem
Views:
750
Posted By
LondoN
Re: sql save problem
oh, i forgot
mysql_escape_string(dest[],len)
{
//copy(dest, len, source);
replace_all(dest,len,"\\","\\\\");
replace_all(dest,len,"\0","\\0");
...
Forum:
Scripting Help
05-03-2021, 17:33
Replies:
7
Solved
weapon names
Views:
1,087
Posted By
LondoN
Re: weapon names
stock weapon_name( id )
{
new szWpName[ 40 ];
get_weaponname( get_user_weapon( id ) , szWpName, charsmax( szWpName ) );
replace( szWpName, charsmax( szWpName ), "weapon_", "" );
ucfirst(...
Forum:
Scripting Help
05-03-2021, 17:22
Replies:
7
Solved
sql save problem
Views:
750
Posted By
LondoN
Re: sql save problem
public client_putinserver(id)
{
if(is_user_bot(id) || is_user_hltv(id))
return;
get_user_name(id, g_iPlayersInfo[id][Name], charsmax(g_iPlayersInfo[][Name]));
get_user_ip(id,...
Forum:
Scripting Help
04-24-2021, 14:54
Replies:
7
Get_players stock
Views:
836
Posted By
LondoN
Re: Get_players stock
it's depend on how you use the stock.
Let's take an example:
instead of putting 250 as health (stock parameter) we also can use get_pcvar_num to take the value from a cvar.
if the cvar is zero...
Forum:
Scripting Help
04-24-2021, 12:52
Replies:
7
Get_players stock
Views:
836
Posted By
LondoN
Re: Get_players stock
stock get_and_set(szFlags[] = "", szTeam[] = "", iHealth)
{
new Players[32], iNum;
get_players(Players, iNum, szFlags, szTeam);
for(new i; i < iNum; i++)
{
if(!iHealth)
break;
Forum:
Scripting Help
04-24-2021, 08:49
Replies:
3
choosemap plugin
Views:
537
Posted By
LondoN
choosemap plugin
https://i.imgur.com/7jacpoM.png
know somebody how can i do somethink like that?
(code examples)
Forum:
Scripting Help
04-19-2021, 10:22
Replies:
6
Write to .txt file and put +1
Views:
827
Posted By
LondoN
Re: Write to .txt file and put +1
#include <amxmodx>
#include <amxmisc>
public plugin_init()
{
new g_szFileName[128];
formatex(g_szFileName[get_configsdir(g_szFileName, charsmax(g_szFileName))], charsmax(g_szFileName),...
Forum:
Scripting Help
04-19-2021, 03:54
Replies:
6
Whats wrong in this mysql?
Views:
867
Posted By
LondoN
Re: Whats wrong in this mysql?
public client_connect(id)
{
new g_szAuthID[32];
get_user_authid(id, g_szAuthID, charsmax(g_szAuthID));
new g_szQuery[256];
formatex(g_szQuery, charsmax(g_szQuery), "SELECT * FROM tablename...
Forum:
Scripting Help
04-19-2021, 03:49
Replies:
10
How can I make NPCs avoid obstacles ?
Views:
1,714
Posted By
LondoN
Re: How can I make NPCs avoid obstacles ?
I don't know if i'm right, but why you didn't apply 'semiclip' on NPC's to avoid obstacles? I think you can make pass them playing with pev_solid
Forum:
Scripting Help
04-19-2021, 03:46
Replies:
21
I need ideas to solve this
Views:
1,943
Posted By
LondoN
Re: I need ideas to solve this
new g_PlayerLevel[MAX_PLAYERS+1];
new Handle: g_SQLTuple;
new const g_szFile[] = "addons/amxmodx/configs/sql_dump.txt";
public client_disconnect(id)
{
if(is_user_bot(id) ||...
Forum:
Scripting Help
04-14-2021, 14:39
Replies:
21
I need ideas to solve this
Views:
1,943
Posted By
LondoN
Re: I need ideas to solve this
you can save queries in a .txt file. When ddos is done and mysql server respond just insert the data from the .txt file in db. Then remove the .txt file
Forum:
Scripting Help
04-09-2021, 07:51
Replies:
11
Force client into messagemode say
Views:
1,084
Posted By
LondoN
Re: Force client into messagemode say
i have a little question...
messagemode is not blocked by cl_filterstuffcmd?
Forum:
Scripting Help
04-07-2021, 19:48
Replies:
5
how to deal with task spam?
Views:
580
Posted By
LondoN
Re: how to deal with task spam?
CSX is much better but if he want's to block default messages still need to hook his way.
Forum:
Scripting Help
04-07-2021, 18:51
Replies:
5
how to deal with task spam?
Views:
580
Posted By
LondoN
Re: how to deal with task spam?
Try removing the 'id+taskid' and just use 0 = for all players
Forum:
Scripting Help
04-07-2021, 15:30
Replies:
14
check prefix of fps_max or any other command
Views:
1,333
Posted By
LondoN
Re: check prefix of fps_max or any other command
probably he uses amxx 182 who's not supporting query_client_var. it will be better if he provides us the amxx version he uses
Forum:
Scripting Help
04-07-2021, 13:11
Replies:
4
Grenade no effect if armor is above 500
Views:
601
Posted By
LondoN
Re: Grenade no effect if armor is above 500
set_pev(victim, pev_armorvalue, armor-500.0);
Forum:
Scripting Help
04-07-2021, 12:54
Replies:
4
Grenade no effect if armor is above 500
Views:
601
Posted By
LondoN
Re: Grenade no effect if armor is above 500
static Float: armor;
pev(victim, pev_armorvalue, armor);
if(armor >= 500.0)
{
set_pev(victim, pev_armorvalue, 0.0);
break;
}
in while() just do somethink like this. using break will stop...
Forum:
Scripting Help
04-06-2021, 16:05
Replies:
6
Solved
write_bye
Views:
743
Posted By
LondoN
Re: write_bye
set_msg_block(get_user_msgid("ScoreInfo"), BLOCK_SET);
/* here update scoreboard */
/* then enable it again */
Showing results 1 to 25 of 116
Page 1 of 5
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
15:05
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode