Raised This Month: $ Target: $400
 0% 

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: da_ciouzan_oan
Forum: Scripting Help 11-22-2011, 12:25
Replies: 12
Views: 2,988
Posted By da_ciouzan_oan
Re: client_print problem

Thanks Xellath !
Works perfectly, you can lock the topic xD
Forum: Scripting Help 11-22-2011, 11:53
Replies: 12
Views: 2,988
Posted By da_ciouzan_oan
Re: client_print problem

I figured out finally... I guess something it's wrong with 'DeathMsg' event..
I created a command for test and all it's working fine :-?

Wondering what's wrong with DeathMsg.....
Forum: Scripting Help 11-22-2011, 11:36
Replies: 12
Views: 2,988
Posted By da_ciouzan_oan
Re: client_print problem

This code is working ..
public task()
{
server_print("%s: %s", ACHIEVEMENT_GlobalInfo[ 3 ][ ACHIEVEMENT_Name ], ACHIEVEMENT_GlobalInfo[ 3 ][ ACHIEVEMENT_Message ])
client_print(0, print_chat,...
Forum: Scripting Help 11-22-2011, 10:05
Replies: 12
Views: 2,988
Posted By da_ciouzan_oan
Re: client_print problem

ACHIEVEMENT_Earn(id, id_medalie)
{
new nume_player[ 32 ], players[ 32 ], num, nume_medalie[ 32 ], mesaj_medalie[ 96 ]
get_players(players, num)
get_user_name(id, nume_player,...
Forum: Scripting Help 11-22-2011, 08:38
Replies: 12
Views: 2,988
Posted By da_ciouzan_oan
Re: client_print problem

The file with achiv's look like this:
0 "Ace Shot" "Omoara 2 playeri cu un glont"
1 "First Blood" "Fa primul frag din runda"
2 "Humiliation" "Omoara 1 player cu cutitul"
3 "Life Hater"...
Forum: Scripting Help 11-22-2011, 08:29
Replies: 12
Views: 2,988
Posted By da_ciouzan_oan
Re: client_print problem

1. I made some changes and now it doesn't crash the server anymore.. but still prints like !@#%:
I wanted to check if in console prints ok but.. it doesn't. Only when it loads from file it prints...
Forum: Scripting Help 11-22-2011, 06:18
Replies: 12
Views: 2,988
Posted By da_ciouzan_oan
client_print problem

Hello,
I have some problems with client_print

This is how I declared my vars
#define _ACHIEVEMENT_Max 128
enum ACHIEVEMENT_Info
{
ACHIEVEMENT_Name[ 32 ],
ACHIEVEMENT_Message[ 192 ]
}
Forum: Scripting Help 11-11-2011, 04:43
Replies: 12
Views: 2,346
Posted By da_ciouzan_oan
Re: format/ex question/help

Never worked with Trie.. but I'll search on the forums and hope I'll find smthing to learn from.
Thanks for the answers/advices xD
Forum: Scripting Help 11-10-2011, 16:42
Replies: 12
Views: 2,346
Posted By da_ciouzan_oan
Re: format/ex question/help

It worked with '%%s'. Thanks.
But I still have a little problem at my script, not the test one.

I have this:

public client_command(id)
{
new command[32], argument = 1,...
Forum: Scripting Help 11-10-2011, 16:24
Replies: 12
Views: 2,346
Posted By da_ciouzan_oan
Re: format/ex question/help

Uhm.. my script test compiled, I guess smthing it's wrong with my variable (still don't know what).
Buuuut.. still doesn't works, now I get a runtime error in the test script.

public...
Forum: Scripting Help 11-10-2011, 15:18
Replies: 12
Views: 2,346
Posted By da_ciouzan_oan
Re: format/ex question/help

Uhm, lets say that I used format before:
formatex(_names[0], charsmax(_names[]), "Lul")
formatex(_names[1], charsmax(_names[]), "Woot")

Variable _fileData[0][10] holds the following text "%s is...
Forum: Scripting Help 11-10-2011, 14:09
Replies: 12
Views: 2,346
Posted By da_ciouzan_oan
Re: format/ex question/help

Here is the whole code:
http://pastebin.com/Hjr2ynCq

And I put this in the file to test:

"amx_slay" b s:adminname s:targetname 0 0 0 0 0 "ADMIN: %s slaughtered %s"
Forum: Scripting Help 11-10-2011, 13:03
Replies: 12
Views: 2,346
Posted By da_ciouzan_oan
format/ex question/help

Hello,
I have a little problem with formatex.. Let's say I just used function parse, to split a text from a file.

parse(_fileData[_fileCount][0],...
Forum: Scripting Help 11-05-2011, 05:53
Replies: 5
Views: 1,379
Posted By da_ciouzan_oan
Re: Multi-dimensional Arrays format

Well.. instead of making 2 variables, I choose making 1 cause it's easier to work with xD.

Anyway.. it work'd, thanks.
Forum: Scripting Help 11-05-2011, 05:23
Replies: 5
Views: 1,379
Posted By da_ciouzan_oan
Multi-dimensional Arrays format

I have this declared as global var:
g_playerReady[33][2][32]

And I'm trying to format.. but smthing it's wrong. What am I doing wrong?..
get_user_name(id, plr_name, charsmax(plr_name))...
Showing results 1 to 15 of 15

 
Forum Jump

All times are GMT -4. The time now is 08:30.


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