Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 217
Search took 0.01 seconds.
Search: Posts Made By: killergirl
Forum: Scripting Help 03-27-2013, 14:59
Replies: 1
Views: 626
Posted By killergirl
Detalied, expanded or edited debugging

I'm getting: Run time error 10: native error (native "ArrayGetArray") on one of my plugins and I don't know why. I'm performing several conditions before calling the native and I want to know why...
Forum: Scripting Help 03-25-2013, 04:33
Replies: 2
Views: 689
Posted By killergirl
Replace quotes

I'm trying to insert safe data in my data base and I have written a function which replaces a few invalid symbols, I don't know why but I'm getting interesting strings which I can't copy+paste here...
Forum: Scripting Help 03-24-2013, 19:04
Replies: 2
Views: 875
Posted By killergirl
Replace last char from a string

I want to remove the last "," from my string, but I'm getting buffer to big error when I'm compiling.

new test[128], iLen

iLen += formatex(test, iLen, "START,")

for(new i = 0; i < 5; i++){
...
Forum: Scripting Help 11-11-2012, 11:03
Replies: 2
Views: 1,696
Posted By killergirl
HUD message new line - problem

new gp_message

public plugin_init(){
gp_message = register_cvar("amxx_my_message", "Hello,^n^ndon't forget to register here: www.name.com")
}

public client_putinserver(id) set_task(5.0,...
Forum: Scripting Help 11-11-2012, 05:07
Replies: 3
Views: 1,058
Posted By killergirl
How to return array?

public myFunction(id){
new name[32], str[128]

get_user_name(id, name, 31)
formatex(str, charsmax(str), "----> %s", convert(name) )

return PLUGIN_HANDLED
}

stock convert(str[]){
Forum: Scripting Help 11-11-2012, 02:30
Replies: 1
Views: 507
Posted By killergirl
How to format data enum ?

enum Users
{
username[32],
password[32]
}

new iCount
new g_Users[512][Users]

public my_function(Handle:Query){
Forum: Scripting Help 11-10-2012, 15:11
Replies: 7
Views: 1,474
Posted By killergirl
Re: Multiple array format / structure

Wow, it's very interesting... Thanks fysiks, now it compiles.

I can't find any documentation for Trie (slap me if I'm wrong) and I'm trying to understand the code what I found in trietest.sma. Is...
Forum: Scripting Help 11-10-2012, 14:49
Replies: 7
Views: 1,474
Posted By killergirl
Re: Multiple array format / structure

new Trie:VipUsers

public plugin_init(){
VipUsers = TrieCreate()
}

public get_users() SQL_ThreadQuery(g_sqlTuple, "_handle_get_users", "SELECT * FROM `vip_system`");
public...
Forum: Scripting Help 11-10-2012, 14:38
Replies: 7
Views: 1,474
Posted By killergirl
Re: Multiple array format / structure

Thanks ConnorMcLeod (http://forums.alliedmods.net/member.php?u=18946) but the compiler doesn't compile it. I get some error:

error 088: number of arguments does not match definition.

Am I need...
Forum: Scripting Help 11-10-2012, 13:37
Replies: 7
Views: 1,474
Posted By killergirl
Multiple array format / structure

Edit: found the answer: http://forums.alliedmods.net/showthread.php?t=140103

How am I supposed to create a multidimensional array?

#define MAX_USER 120
#define U_LEN 32
#define U_PASS 32
...
Forum: Scripting Help 07-19-2012, 05:02
Replies: 21
Views: 3,888
Posted By killergirl
Re: Cross reference Information (hardware ID), same person?

Did you try to open up a motd for the client from you want to gain information. I only know php (asp never), and with php you can set up cookies, sessions. Also, you can get the country, town name,...
Forum: Scripting Help 07-19-2012, 04:54
Replies: 10
Views: 2,288
Posted By killergirl
Re: get_systime() problem

Did you mean I need to remove the get_systime() from the query string and format it with NOW() query?

INSERT INTO `asd` (
'id',
'timestamp') VALUES (

'',
'NOW()' )

This is...
Forum: Scripting Help 07-18-2012, 20:41
Replies: 10
Views: 2,288
Posted By killergirl
Re: get_systime() problem

@meta
Yes, is it INT (11).

Like I said, in some cases, not all the time. When I'm getting information from the database, in some cases when I convert them into php date, the date is 1970 (because...
Forum: Scripting Help 07-18-2012, 16:52
Replies: 10
Views: 2,288
Posted By killergirl
Re: get_systime() problem

I'm sending a query to a mysql server when a player has disconnected

static query[256]

formatex(query, charsmax(query), "INSERT INTO `asd` (id, timestamp) VALUES ('', '%d')", get_systime() )
...
Forum: Scripting Help 07-18-2012, 16:12
Replies: 10
Views: 2,288
Posted By killergirl
get_systime() problem

Not all the time, but sometimes get_systime() is returning me 0. I don't know why...

Is there any other function to get the current time in seconds format?
Forum: Scripting Help 06-16-2012, 05:39
Replies: 4
Views: 1,429
Posted By killergirl
encrypt <-> decrypt string

I can't use md5, because I can't decrypt data. I need to a encrypt and decrypt a string, but how could be possible?
Forum: Scripting Help 06-12-2012, 18:03
Replies: 1
Views: 888
Posted By killergirl
get_systime() (timestamp) -> php problem

Edit: now it's working, the problem was caused by apache server, I resolved it editing the php.ini. Anyway, sorry for this topic, get_systime() is working fine !

Hi,

I'm having problem with...
Forum: Scripting Help 04-03-2012, 03:16
Replies: 9
Views: 1,782
Posted By killergirl
Check char in a string

I have a string sz[] = "abcdefghijklmnopqrst", and how can I find a single char in this string? containi(), equal() or ? What am I suposed to do?

Thanks !
Forum: Scripting Help 03-25-2012, 16:20
Replies: 2
Views: 772
Posted By killergirl
SQL_ReadResult()

I'm having problems with my new plugin. If I retrieve (query) data from a database and the selected value from a column it's not existing, then I get errors in my server console. I'm looking for a...
Forum: Scripting Help 03-22-2012, 19:57
Replies: 25
Views: 4,300
Posted By killergirl
Re: [WW] Whats wrong

#include <amxmodx>

new gIszIP

public plugin_init(){
register_plugin("", "", "")

register_clcmd("_something", "something")

gIszIP = register_cvar("my_server",...
Forum: Scripting Help 03-22-2012, 17:44
Replies: 8
Views: 1,943
Posted By killergirl
Re: Need help, how to count kills, save them? (pointmod)

Here is an example how you can save player points. Sorry for my english, but I think you can understand.

With this code you can save player points for the current map, if there is a mapchange or...
Forum: Scripting Help 03-21-2012, 14:01
Replies: 16
Views: 7,685
Posted By killergirl
Re: Read_argv, how to?

register_clcmd("say /testhan", "yourFunction")

->

register_clcmd("say", "yourFunction")
Forum: Scripting Help 03-21-2012, 13:43
Replies: 16
Views: 7,685
Posted By killergirl
Re: Read_argv, how to?

public yourFunction(id){

static arg[256], buff[10], val[2], val2[2], val3[2]

read_args(arg, 255)

if(containi(arg, "/testhan") != -1){
copy(buff, 9, arg[9])
...
Forum: Scripting Help 03-20-2012, 09:20
Replies: 23
Views: 2,939
Posted By killergirl
Re: Count

new count

public plugin_init(){
//
set_task(1.0, "count", _, _, _, "b")
}

public count(){
set_hudmessage(255, 0, 0, -1.0, -1.0, 0, 6.0, 12.0)
show_hudmessage(0, "%d", count)
Forum: Scripting Help 03-19-2012, 19:15
Replies: 0
Views: 450
Posted By killergirl
hook grenade, event flash

##############
Showing results 1 to 25 of 217

 
Forum Jump

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


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