Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 186
Search took 0.01 seconds.
Search: Posts Made By: yan1255
Forum: Scripting Help 12-05-2015, 12:26
Replies: 0
Views: 485
Posted By yan1255
[Q] Is there anyway to reduce incoming voice ?

So my question is like this - Is there anyway to reduce the volume of an incoming voice from a player, but the voice will be reduced only to the client of my choosing ?
Forum: Scripting Help 11-07-2015, 10:49
Replies: 5
Views: 748
Posted By yan1255
Re: fix please

Made it better for you.. and more efficient, if you're interested.

#include < amxmodx >
#include < zombieplague >

#define PLUGIN "[ZP] Extra Addon: Countdown with HUD (fixed)"
#define...
Forum: Scripting Help 11-07-2015, 07:20
Replies: 6
Views: 877
Posted By yan1255
Re: emit_sound

I knew there was a problem with the files themselves thank you for helping me!



Actually I don't think client_cmd will do the trick here because I could have used it myself but the sound need...
Forum: Scripting Help 11-06-2015, 21:17
Replies: 6
Views: 877
Posted By yan1255
emit_sound

I am trying to emit a sound from a player and I just can't seem to be making it work..
I have no Idea why... so I was wondering if someone could help me fix my code or make me a new one where this...
Forum: Scripting Help 11-06-2015, 11:18
Replies: 1
Views: 1,818
Posted By yan1255
Sizeof 3 dimensional arrays

I am using 3d arrays and i am trying to find the maximum size of a certain value inside of them but I keep getting errors when I am using 'sizeof'

#include < amxmodx >

enum _: enumfirst
{...
Forum: Code Snippets/Tutorials 09-04-2015, 14:45
Replies: 31
Views: 35,507
Posted By yan1255
Re: New File Vault - A newer file vault system!

What is the point of setting a different data to the same name ? by the outcome you exampled it didn't made any change that what got me confused if you could please clear things up like if it was a...
Forum: Code Snippets/Tutorials 01-16-2015, 20:56
Replies: 83
Views: 98,813
Posted By yan1255
Re: FVault - A new vault system!

Question...
Does the timestamp is from when it was first created or last updated ?

edit: Never mind I checked it on my own its from the last time it was updated if someone was wondering :)
Forum: Scripting Help 01-12-2015, 00:42
Replies: 8
Views: 1,472
Posted By yan1255
Re: [HELP] NPC's distance

Using moving NPCs isn't an issue because for now I don't need it but thank you I'll make sure to use it if I'll ever try to make moving NPCs :D

I'll redo it and send it back :)
Forum: Scripting Help 01-11-2015, 22:43
Replies: 8
Views: 1,472
Posted By yan1255
Re: [HELP] NPC's distance

Never heard of it :cry: plus I don't know how to use it...
This is my stock:
stock bool: is_distance( const index )
{
static Float: iOrigin[ 3 ];

pev( index, pev_origin, iOrigin );

for...
Forum: Scripting Help 01-11-2015, 20:50
Replies: 8
Views: 1,472
Posted By yan1255
Re: [HELP] NPC's distance

I already recieved their origin now I just want to store it via Arrays (ArrayGetArray and such)
I succedded in creating 3 Arrays
Example:

ArrayPushArray( g_aOriginsX, iOrigin[ 0 ] );...
Forum: Scripting Help 01-11-2015, 13:16
Replies: 8
Views: 1,472
Posted By yan1255
Re: [HELP] NPC's distance

Yes, but there are a few NPCs so I need to get all of their Origins so I can check if the player is close enough to the NPC
Forum: Scripting Help 01-11-2015, 13:13
Replies: 6
Views: 1,228
Posted By yan1255
Re: Menus

I understand your idea of course and I even had it on my own but I want to see if theres any way of disabling the item while continuing seeing the number in red :)
Forum: Scripting Help 01-10-2015, 20:56
Replies: 8
Views: 1,472
Posted By yan1255
[HELP] NPC's distance

So I succedded in createing a few NPCs and saving them all in one map together now my new problem is like this...
When a player touches an NPC, he then get an a menu, the menu has a few options that...
Forum: Scripting Help 01-10-2015, 19:46
Replies: 14
Views: 2,231
Posted By yan1255
Re: [HELP] Why doesn't this NPC Code works ?

The NPC directory has already been created

P.S: Thank you so much I feel so stupid the fData was the problem xD
I can't believe I didn't see it anyhow thank you :D
Forum: Scripting Help 01-09-2015, 13:14
Replies: 14
Views: 2,231
Posted By yan1255
Re: [HELP] Why doesn't this NPC Code works ?

omfg...

lets assume szData contains 9 chars then 10 is bigger than 9 so it will continue and skip to the next loop. (which will check again if the current line (szData) has 10 chars)
now lets...
Forum: Scripting Help 01-09-2015, 13:04
Replies: 14
Views: 2,231
Posted By yan1255
Re: [HELP] Why doesn't this NPC Code works ?

I don't think you know what you're saying...

strlen - gets the length of a string

that means if
szData[ 128 ]

szData = "123456789" - wont go through
szData = "1234567890" - will go through
Forum: Scripting Help 01-09-2015, 12:58
Replies: 6
Views: 1,097
Posted By yan1255
Re: [Check] Jailbreak Voice

1 = frmes_ignored;
Forum: Scripting Help 01-09-2015, 12:57
Replies: 10
Views: 2,660
Posted By yan1255
Re: switch string

Please explain more accuratly what do you want...
Forum: Scripting Help 01-09-2015, 12:55
Replies: 14
Views: 2,231
Posted By yan1255
Re: [HELP] Why doesn't this NPC Code works ?

If szData is higher than 10 that mean the code will go through...
Forum: Scripting Help 01-09-2015, 12:50
Replies: 12
Views: 1,543
Posted By yan1255
Re: VoteMenu - index out of bounds

Actually it is related, The problem may be coming of you having too many items on your menu it is most likely to be the problem either way I can't try and help you if I don't see those
1. The public...
Forum: Scripting Help 01-09-2015, 12:45
Replies: 6
Views: 1,097
Posted By yan1255
Re: [Check] Jailbreak Voice

I don't have a server to check it on.
This is a new code that I just made just now try it if you want.
Forum: Scripting Help 01-09-2015, 12:32
Replies: 14
Views: 2,231
Posted By yan1255
Re: [HELP] Why doesn't this NPC Code works ?

if client equals zero it means the client is the server...
in other words, it doesn't works.
and more now it doesn't create the NPCs anymore
Forum: Scripting Help 01-09-2015, 12:27
Replies: 6
Views: 1,097
Posted By yan1255
Re: [Check] Jailbreak Voice

I don't know why your's crashes the server but here's something I Just built.
Its not tested and supposed to block dead prisoners voice.
#include < amxmodx >
#include < fakemeta >

#define...
Forum: Scripting Help 01-09-2015, 12:15
Replies: 14
Views: 2,231
Posted By yan1255
Re: [HELP] Why doesn't this NPC Code works ?

As I said the NPCs are created when i type "npc_create" in the console, but when I restart the server the NPCs are not being created...
Forum: Scripting Help 01-09-2015, 12:10
Replies: 14
Views: 2,231
Posted By yan1255
Re: [HELP] Why doesn't this NPC Code works ?

Its the line not the length it writes the origins and angles in the .coord file

Example:
"-1560.553588#-711.383544#164.031250#-2.969970#10.612792#0.000000"...
Showing results 1 to 25 of 186

 
Forum Jump

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


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