Raised This Month: $230 Target: $400
 57% 

Showing results 1 to 25 of 500
Search took 0.06 seconds.
Search: Posts Made By: CrazY.
Forum: Scripting Help Yesterday, 08:16
Replies: 9
Views: 262
Posted By CrazY.
Re: 'Hybrid' Plugin?

Yes but wouldn't need to remove the include, as I replaced with #tryinclude, which first check if the file exists before including. If you want this to be dynamic, that is, not recompiling the...
Forum: Scripting Help 09-23-2021, 10:15
Replies: 9
Views: 262
Posted By CrazY.
Re: 'Hybrid' Plugin?

The inc has nothing to do with creating the library, it is simply loading it for you. The library is created in the plugin itself by calling register_library. If there is no library as in zp43, you...
Forum: Suggestions / Requests 09-10-2021, 08:30
Replies: 10
Views: 586
Posted By CrazY.
Re: Looking for Darth Vader player model

http://gamer-lab.com/eng/mdl_goldsrc/Darth_Vader
https://gamemodding.com/en/counter-strike-1-6/player-skins/24312-darth-vader.html
https://cs-bg.info/skin/5105...
Forum: Scripting Help 09-05-2021, 09:22
Replies: 9
Views: 1,076
Posted By CrazY.
Re: Detect when a entity passes through anything a map has

For determining if an entity is on ground or not you'd better tracing a line down and cheking the fraction.

As for the pathfinding problem, Counter-Strike pathfinding seems to be using a grid to...
Forum: Suggestions / Requests 08-30-2021, 09:03
Replies: 9
Views: 642
Posted By CrazY.
Re: Modify Models Menu

This will show a message once a player spawn if he has changed teams

Untested

By the way, the 1-2 second delay you noticed is happening because of cs_player_models_api, this is to prevent the...
Forum: Suggestions / Requests 08-30-2021, 08:51
Replies: 16
Views: 508
Posted By CrazY.
Re: plugin_precache

I think what you're trying to do isn't possible, there is no known way to show images on screen through the server other than a hacky one with WeaponList or setting the sprite in a v_ weapon model....
Forum: Scripting Help 08-30-2021, 08:40
Replies: 2
Views: 363
Posted By CrazY.
Re: how to show translated text in hud?

You would use TextMsg to do that. I implemented the following code based on regamedll source, refer to for more examples. Make sure you to not pass a string with length greater than 190 characters,...
Forum: Off-Topic 08-29-2021, 20:21
Replies: 6
Views: 782
Posted By CrazY.
Re: What should be RAM for installing Fortnite?

I recommend you to get 2 sticks of 8gb each. I've only 8gb and I can say it's not enough, at least for my use case.
Forum: Suggestions / Requests 08-24-2021, 08:30
Replies: 9
Views: 642
Posted By CrazY.
Re: Modify Models Menu

Can you try this one


#include <amxmodx>
#include <cromchat>
#include <cstrike>
#include <cs_player_models_api>
#include <hamsandwich>

#if !defined MAX_PLAYERS
Forum: Suggestions / Requests 08-23-2021, 10:17
Replies: 9
Views: 642
Posted By CrazY.
Re: Modify Models Menu

The problem is cs_set_user_model. Try this:


#include <amxmodx>
#include <cromchat>
#include <cstrike>
#include <cs_player_models_api>
#include <hamsandwich>

#if !defined MAX_PLAYERS
Forum: Scripting Help 08-23-2021, 09:50
Replies: 5
Views: 531
Posted By CrazY.
Re: Entity moving in front of player

Trace a line down from the player current origin and you'll get the "on ground" position.


new Float:start[3], Float:end[3]
pev(id, pev_origin, start)
end[0] = start[0]
end[1] = start[1]...
Forum: Suggestions / Requests 08-22-2021, 11:05
Replies: 9
Views: 642
Posted By CrazY.
Re: Modify Models Menu

I think you just need to enable the models menu plugin after the exclusive models one in plugins.ini, if it doesn't work you would also need to share the other plugin.
Forum: Suggestions / Requests 08-20-2021, 10:36
Replies: 8
Views: 452
Posted By CrazY.
Re: Antidote Bomb Issue (ZM 4.3)

Can you check if you can find the following line in your zp43 main plugin?


cvar_flaregrenades = register_cvar("zp_flare_grenades","1")
Forum: Suggestions / Requests 08-20-2021, 08:37
Replies: 8
Views: 452
Posted By CrazY.
Re: Antidote Bomb Issue (ZM 4.3)

/* Plugin generated by AMXX-Studio */

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <zombieplague>
#include <hamsandwich>
#include <fakemeta_util>

#define PLUGIN "Nowy...
Forum: Scripting Help 08-19-2021, 17:29
Replies: 12
Views: 537
Posted By CrazY.
Re: Limit of buy item but he take ammo

Off topic but I don't recommend you to use any of the mods I posted, they are old and not coded properly. Also if I remember correctly there are some bugs. You should probably stick with zp50, but...
Forum: Scripting Help 08-19-2021, 13:14
Replies: 12
Views: 537
Posted By CrazY.
Re: Limit of buy item but he take ammo

I'm not sure what's your zp version, usually you have to return PLUGIN_HANDLED in order to block the user from buying, but you're returning PLUGIN_CONTINUE


#include <amxmodx>
#include <fun>...
Forum: Scripting Help 08-17-2021, 08:48
Replies: 16
Views: 1,116
Posted By CrazY.
Re: gather data from game server

That won't work if your hosting doesn't allow external connections, as in my case.
Forum: Scripting Help 08-02-2021, 19:01
Replies: 4
Views: 561
Posted By CrazY.
Re: Special plugin problem !

Replace that with get_user_weapon
Forum: Scripting Help 08-02-2021, 18:53
Replies: 8
Views: 950
Posted By CrazY.
Re: multiple vs single array handler

I've something like this, it isn't the 500 sized one. This one is 229, would usually need 10 items of that size, but may vary.


enum _:ZombieData
{
ZombieIdentifier[32],
...
Forum: Scripting Help 08-02-2021, 18:24
Replies: 3
Views: 651
Posted By CrazY.
Re: How does the JSON module work?

The problem is that you're using strlen instead of charsmax.


json_serial_to_string(playersJson, buf, strlen(buf))


Since you didn't assign any string to the buf variable, strlen will return...
Forum: Scripting Help 07-29-2021, 21:46
Replies: 8
Views: 950
Posted By CrazY.
Re: multiple vs single array handler

I currently have an enum with almost 500 of size, planning to increase even more lol
Forum: Scripting Help 07-29-2021, 21:20
Replies: 2
Views: 390
Posted By CrazY.
Re: How to find Steam Id locally

It would be easier to just copy your steam profile url and paste in this site.
https://steamid.io/lookup/
I didn't really watch that video so I'm not sure if that is the purpose of it.
Forum: Scripting Help 07-29-2021, 21:13
Replies: 8
Views: 950
Posted By CrazY.
Re: multiple vs single array handler

Thank you for your explanation. I will probably stick with the first method because it will be easier to manage.
Forum: Scripting Help 07-29-2021, 21:08
Replies: 4
Views: 744
Posted By CrazY.
Re: FM_PlaybackEvent for receiver

One could use rh_emit_sound2 or emitsound2 module if using official hlds, to emit a sound from the invoker to a receiver.
However, if what you're trying to do is replace a gun's shoot sound, just...
Forum: Scripting Help 07-26-2021, 09:29
Replies: 8
Views: 950
Posted By CrazY.
multiple vs single array handler

Hello, suppose I've an item which will contain an unknown number of sub-items. Since the amount of sub-items that the array will have to store is unknown, it's size has to be dynamic. For that I will...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 18:25.


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