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

Showing results 1 to 25 of 81
Search took 0.00 seconds.
Search: Posts Made By: issen1
Forum: Scripting Help 11-17-2010, 09:52
Replies: 2
Views: 924
Posted By issen1
Re: Problem with sqlx

CREATE TABLE IF NOT EXISTS tbl_name
http://dev.mysql.com/doc/refman/5.1/de/create-table.html

That would be another SQL Query every plugin_init, there might be a better solution.

Or to check if...
Forum: Scripting Help 11-11-2010, 13:43
Replies: 9
Views: 1,795
Posted By issen1
Re: solving a grid maze

Sounds like a fun idea, an interactive Tower Defend AMXX Mod!
Forum: Scripting Help 11-09-2010, 13:30
Replies: 7
Views: 2,064
Posted By issen1
Re: getting weapons back

I see. I suppose the entities are deleted when calling strip_user_items() or something equivalent for example.
Forum: Scripting Help 11-09-2010, 12:55
Replies: 7
Views: 2,064
Posted By issen1
Re: getting weapons back

If you are retrieving the weapons with pev_weapons, shouldn't it be possible to set them with set_pev, then?
Forum: Scripting Help 11-09-2010, 12:53
Replies: 3
Views: 4,965
Posted By issen1
Re: spk/mp3 play

Have you turned up your mp3 volume in the couterstrike settings? Usually it's quite lower than the effect sounds.

Otherwise turn up the volume of the mp3 files with an audio editing software like...
Forum: Scripting Help 11-09-2010, 12:25
Replies: 3
Views: 4,965
Posted By issen1
Re: spk/mp3 play

Maybe mp3 files work like this:
http://forums.alliedmods.net/showpost.php?p=1345764&postcount=11

Don't about them myself, though.
Forum: Scripting Help 11-09-2010, 12:24
Replies: 6
Views: 1,693
Posted By issen1
Re: how i can make cvar?

And you can retrieve the value with the get_pcvar_* functions:
http://www.amxmodx.org/funcwiki.php?search=get_pcvar&go=search
Forum: Scripting Help 11-09-2010, 12:02
Replies: 6
Views: 1,645
Posted By issen1
Re: Plugin Dont Compile

Did you try compiling on a different machine?
Forum: Scripting Help 11-09-2010, 12:01
Replies: 7
Views: 2,730
Posted By issen1
Re: Return a value from SQL ThreadQuery

What are you trying to do? Blocking a message depending upon the return value of the MySQL query? That won't be possible.

You can either block the message entirely and print your own message in...
Forum: Scripting Help 11-09-2010, 11:12
Replies: 7
Views: 2,730
Posted By issen1
Re: Return a value from SQL ThreadQuery

Obviously you can't, because the function SQL_ThreadQuery returns immediately (see docs for return value) and your callback function is only called later, when the Query was executed (or failed).
Forum: Scripting Help 11-09-2010, 10:10
Replies: 19
Views: 4,225
Posted By issen1
Re: 50% invisible

It's the basics of programming, the conversion between primitive data types. If you can't handle those, go back to the basics and start learning again. Also wrong is wrong.
Forum: Scripting Help 11-09-2010, 09:55
Replies: 19
Views: 4,225
Posted By issen1
Re: 50% invisible

It's not spamming. It's correcting wrong statements, so others who might read this later, don't get the wrong idea.
Forum: Scripting Help 11-09-2010, 08:37
Replies: 19
Views: 4,225
Posted By issen1
Re: 50% invisible

Depends. If you just convert to an integer it becomes 127 and not 128. You have to round it to get 128.
Forum: Scripting Help 11-07-2010, 13:09
Replies: 11
Views: 2,280
Posted By issen1
Forum: Scripting Help 11-07-2010, 04:13
Replies: 7
Views: 1,692
Posted By issen1
Re: can someone convert the c++ code to pawn

I think there is no function like WideCharToMultiByte in PAWN. So would have to write a module to convert your string.
Forum: Scripting Help 11-07-2010, 04:08
Replies: 4
Views: 1,922
Posted By issen1
Re: menu_addblank with following lines

Look here: http://forums.alliedmods.net/showthread.php?t=140318

You have to use the old style menu interface to accomplish this.

Edit: If you don't want to increase the item counter, then...
Forum: Scripting Help 11-04-2010, 07:13
Replies: 15
Views: 3,776
Posted By issen1
Re: [help] sockets_hz

You can't. Only one socket can listen to one port. You have to hook the rcon routine in the server dll.
Forum: Scripting Help 11-03-2010, 16:41
Replies: 27
Views: 5,051
Posted By issen1
Re: Blocking Emty messages

You didn't compare the code (=disassembly), did you?



Oh, I thought the number of "@"s didn't matter.

Still: The increase in performance is really insignificant like Arkshine did already...
Forum: Scripting Help 11-03-2010, 16:26
Replies: 27
Views: 5,051
Posted By issen1
Re: Blocking Emty messages

Full ACK.

Just wanted to post some nice snippet. :P
Forum: Scripting Help 11-03-2010, 16:16
Replies: 27
Views: 5,051
Posted By issen1
Re: Blocking Emty messages

Not efficient enough.

I suppose you could optimize my code even more if you would reduce it to one loop. But, dunno, if practicable.

Edit: To make it clear: I just posted my hackerish code...
Forum: Scripting Help 11-03-2010, 16:10
Replies: 27
Views: 5,051
Posted By issen1
Re: Blocking Emty messages

#include <amxmodx>
#include <memhack>

new PLUGIN[] = "Jeix test"
new AUTHOR[] = "jeix"
new VERSION[] = "1.337"

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
Forum: Scripting Help 11-02-2010, 13:13
Replies: 5
Views: 1,525
Posted By issen1
Re: accuaracy and effiency float

Look into the documentation. It's all there.
Forum: Scripting Help 11-02-2010, 13:08
Replies: 15
Views: 3,776
Posted By issen1
Re: [help] sockets_hz

Make sure your port isn't used by any other program. 27015 is likely the port your gameserver is running on, it it won't work with that one. Also connect the socket with the interface ip you want to...
Forum: Scripting Help 11-01-2010, 11:49
Replies: 2
Views: 1,274
Posted By issen1
Re: Help with my bcm!?

Magically knowing what your source code might look like:
Try to define TOTAL_BLOCKS, properly.
Forum: Scripting Help 10-31-2010, 04:56
Replies: 15
Views: 3,776
Posted By issen1
Re: [help] sockets_hz

The parameter IP for socket_listen specifies the network interface to listen on. So you either pass the public ip address of your server with this param or try 0.0.0.0 which means that the socket...
Showing results 1 to 25 of 81

 
Forum Jump

All times are GMT -4. The time now is 16:35.


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