Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: CrazY.
Forum: Scripting Help 07-26-2022, 11:59
Replies: 7
Views: 377
Posted By CrazY.
Re: precache_generic

Only player modals may be precached with precache_generic, everything else has to be precached with precache_model.
Forum: Scripting Help 07-26-2022, 11:57
Replies: 3
Views: 367
Posted By CrazY.
Re: Some questions regarding REHLDS/REAPI & Orpheu

I've done that before and had no problems at all, it's vague but really depends on what signatures you are looking for. What I suggest is to let alone orpheu when you can get it done with reapi, if...
Forum: Scripting Help 07-02-2022, 08:55
Replies: 2
Views: 155
Posted By CrazY.
Re: client_print_color

if (!(pev(id, pev_oldbuttons) & IN_ATTACK2) && (pev(id, pev_button) & IN_ATTACK2))
Forum: Scripting Help 06-01-2022, 17:59
Replies: 5
Views: 311
Posted By CrazY.
Re: Human models don't change.

Check if it works with the cvar zp_admin_models_human_knife set to 0.
Forum: Suggestions / Requests 05-16-2022, 16:12
Replies: 4
Views: 351
Posted By CrazY.
Re: Counting substrings in string

containi returns -1 when no match is found, not 0.


/**
* Tests whether a string is found inside another string.
*
* @param source String to search in.
* @param string Substring to find...
Forum: Scripting Help 05-09-2022, 16:17
Replies: 3
Views: 368
Posted By CrazY.
Re: What code causes the light grenade to release sparkles?

message_begin( MSG_PVS, SVC_TEMPENTITY, position );
write_byte( TE_SPARKS );
write_coord( position[0] );
write_coord( position[1] );
write_coord( position[2] );
message_end();
Forum: General 04-27-2022, 10:39
Replies: 3
Views: 763
Posted By CrazY.
Re: Sublime Text no build output

Install the AmxxEditor package for sublime.
https://forums.alliedmods.net/showthread.php?t=293376
Forum: Scripting Help 04-27-2022, 10:14
Replies: 23
Views: 946
Posted By CrazY.
Re: CURL: Downloanding an page ?

Because the plugin was made for amxx 190 or later.
Forum: Suggestions / Requests 04-27-2022, 08:34
Replies: 16
Views: 657
Posted By CrazY.
Re: sql_threadquery - cannot set user flags

Rather than putting a delay in every plugin, create a forward and trigger it once the user flags are loaded, you will still need to edit the plugins though, there is no other way around it.
Forum: Suggestions / Requests 04-26-2022, 08:24
Replies: 7
Views: 305
Posted By CrazY.
Re: Freeze

I'm able to compile it just fine here.
Where did you paste the code I gave you? You should attach your zombie_plague40.sma
https://i.imgur.com/ZaYs4Y1.png
Forum: Suggestions / Requests 04-25-2022, 15:22
Replies: 7
Views: 305
Posted By CrazY.
Re: Freeze

https://forums.alliedmods.net/showpost.php?p=2777543&postcount=2

Replace
public zp_round_started(gamemode, id)
{
new players[32], count
get_players(players, count, "ah")

for (new i,...
Forum: General 04-24-2022, 11:36
Replies: 6
Views: 772
Posted By CrazY.
Re: Models Human Class ZP 4.3 Fix5a (Doubt)

This seems to be working

https://i.imgur.com/v8HsVir.png
Forum: Scripting Help 04-24-2022, 10:58
Replies: 22
Views: 1,249
Posted By CrazY.
Re: how to add item for the category number 8 of the menu

Just renaming the "back" option won't work as MENU_BACK and MENU_NEXT don't trigger the menu handler.

Not sure what you mean by "I don't trust that code", if you are not aware, newmenus is just a...
Forum: Scripting Help 04-23-2022, 19:47
Replies: 1
Views: 266
Posted By CrazY.
Re: Operation cycles to find enities (for, do, while)

find_sphere_class will store the entities, if any, in the entlist array you pass in, similar to get_players.


CoolFunction(dog)
{
new entityList[20]
const Float:radius = 300.0
new...
Forum: Suggestions / Requests 04-22-2022, 12:53
Replies: 13
Views: 491
Posted By CrazY.
Re: Night vision problem ?

There are 2 million results on google, how are we supposed to guess what mod your talking about? You have to either attach the sma or provide the link.
Forum: Scripting Help 04-22-2022, 12:50
Replies: 15
Views: 457
Posted By CrazY.
Re: quick help

Floating an integer will truncate the decimal part while get_pcvar_float will not, what didn't you understand?
With double I meant float it doesn't matter
Forum: Scripting Help 04-22-2022, 12:21
Replies: 1
Views: 260
Posted By CrazY.
Re: Help with Precache

public plugin_precache()
{

for ( new iModelIndex = 0 ; iModelIndex < sizeof( g_ModelData ) ; iModelIndex++ ) {

precache_model(...
Forum: Scripting Help 04-22-2022, 10:57
Replies: 15
Views: 457
Posted By CrazY.
Re: quick help

get_pcvar_float returns a double no matter the value you set the cvar to.
Forum: General 04-22-2022, 09:02
Replies: 4
Views: 1,010
Posted By CrazY.
Re: How to freeze zombies ZP? (Help)

Paste this somewhere in the main zombie plague plugin.


public zp_round_started(gamemode, id)
{
new players[32], count
get_players(players, count, "ah")

for (new i, player; i < count;...
Forum: Suggestions / Requests 04-22-2022, 08:52
Replies: 13
Views: 491
Posted By CrazY.
Re: Night vision problem ?

Share the source code of your zombie mod.
Forum: Scripting Help 04-22-2022, 08:42
Replies: 22
Views: 1,249
Posted By CrazY.
Re: how to add item for the category number 8 of the menu

Just copy and paste the "Cool Menu" stuff and rename it to something else. You may need to reset the page whenever you open a menu, g_playerMenuPage[id] = 0


#include <amxmodx>
#include...
Forum: Scripting Help 04-21-2022, 21:46
Replies: 22
Views: 1,249
Posted By CrazY.
Re: how to add item for the category number 8 of the menu

The problem is that ArraySize is returning the number of items of both "Locations", 1 and 2, altogether.
To fix that, either create one array for each "Location" or implement your own ArraySize...
Forum: Scripting Help 04-21-2022, 14:40
Replies: 10
Views: 405
Posted By CrazY.
Re: Reading Web Content info ?

Do not use sockets for that purpose, stick with curl.
https://github.com/Next21Team/AmxxCurl

I won't go in-depth about the differences but with sockets, if you do multiple requests within a short...
Forum: Scripting Help 04-21-2022, 10:16
Replies: 3
Views: 230
Posted By CrazY.
Re: How does a cs server connect to the MySQL database?

There are plenty of posts on this forum that address your question, take a few minutes and search.
0.42 seconds on google https://forums.alliedmods.net/showthread.php?t=46779
Forum: Scripting Help 04-20-2022, 21:22
Replies: 4
Views: 323
Posted By CrazY.
Re: get position between N points

The midpoint can be found by summing each axis and dividing by the number of points.
Assuming your points are A, B, and C:


// 0 - x axis
// 1 - y axis
// 2 - z axis

center[0] = (A[0] +...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 14:20.


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