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

Showing results 1 to 25 of 38
Search took 0.01 seconds.
Search: Posts Made By: yl2401
Forum: Scripting Help 08-12-2015, 20:55
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Okey, Regardless of the storage method to use. In short, I want it to run the fastest and consumes minimal resources.
Forum: Scripting Help 08-12-2015, 19:26
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

I want to have 6 surveys and save the saved results in a file. Each survey has 12 questions with 3 answers. I want to save the saved results in a file, not MySQL or nVault. Because it is easy to...
Forum: Scripting Help 08-12-2015, 10:36
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

I will create a .ini data file. I want to read a file in reverse order.
As the latest data is at the end of the file, so I can read the data by time.
In addition to avoid reading excess data...
Forum: Scripting Help 08-10-2015, 11:09
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

I would like to read the file in reverse order. How can I do?
Forum: Scripting Help 08-10-2015, 07:53
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Can I use this?
new iLine = file_size(szFile, 1), iTextLength
while(read_file(szFile, iLine, szData, charsmax(szData), iTextLength) != 0)
Forum: Scripting Help 08-09-2015, 13:34
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Oh, how should I modify? THX!!!!!!
Forum: Scripting Help 08-08-2015, 10:09
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

OK, Thank you!!
Please help me to solve these cases.

Case 1:
I want the more new data in the end, the more old data in the front, or even deleted when the string is full. How to do it?
...
Forum: Scripting Help 08-07-2015, 12:16
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

sorry, I must see "010000000000...", not "01".
Forum: Scripting Help 08-07-2015, 12:10
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

read data.ini
"Player" "102021211000100020000000000000000" "221211200122110000000000000000000" "110000000000000000000000000000000" "000000000000000000000000000000000"...
Forum: Scripting Help 08-07-2015, 11:51
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

1. I want to save, read "101201" and save to g_data[id][?][?].
2. How will g_data[id][?][?] convert to number 0/1/2?
I tried if( g_data[id][0][0] ) and if( str_to_num(g_data[id][0][0]) ), but...
Forum: Scripting Help 08-07-2015, 11:04
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

1. I want to save, read "101201" and save to g_data[id][?][?].
2. How will g_data[id][?][?] convert to number 0/1/2?
I tried if( g_data[id][0][0] ) and if( str_to_num(g_data[id][0][0]) ), but these...
Forum: Scripting Help 08-07-2015, 07:10
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

I do not know how to explain, but I have tried to explain what I want to do.
If you have other ways, please tell me. Thank you.
Forum: Scripting Help 08-06-2015, 06:53
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Like this, I hope you can understand.
public Survey1(id)
{
static option[256]
new iMenu = menu_create("\rSurvey1", "handle_Survey1")

formatex(option, charsmax(option), "...
Forum: Scripting Help 08-05-2015, 13:47
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Sorry, I do not understand.
Can you make a code to let me easy to know, please?
If I look at some code, I can easily understand what you want to do.
Forum: Scripting Help 08-04-2015, 22:07
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

For now, just save 6 pieces of 33-length 0's, 1's and 2's. It was enough.
In addition, I want to identify the data, I should use str_to_num (g_data [id] [0] [0]) or g_data [id] [0] [0] or other?...
Forum: Scripting Help 08-04-2015, 00:05
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Yes, when I want to read data, I have to use str_to_num () many times. When I make a menu, I have to use it 10++ times. I do not want to use it many times. How can I do?
Forum: Scripting Help 08-03-2015, 23:57
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Thank you very much!!
I want to use it to do a survey. When players select "1", only save "1." When the player selects "2" , only save "2", etc. In addition, the admin can read data, and statistics....
Forum: Scripting Help 08-03-2015, 10:40
Replies: 37
Views: 5,387
Posted By yl2401
Re: About string question

Thank you!
I look forward to your reply!
Forum: Scripting Help 08-03-2015, 07:23
Replies: 37
Views: 5,387
Posted By yl2401
Forum: Scripting Help 08-03-2015, 03:14
Replies: 37
Views: 5,387
Posted By yl2401
About string question

new g_data[33][6][33]
public CheckClient(id)
{
if(is_user_bot(id))
return PLUGIN_HANDLED

new szName[32], check_name[33], check_data[6][33], loaddata[5120]
new file =...
Forum: Scripting Help 07-29-2015, 23:35
Replies: 2
Views: 637
Posted By yl2401
Forum: Scripting Help 07-29-2015, 07:28
Replies: 2
Views: 637
Posted By yl2401
register_native and floats: tag mismatch

new Float:g_iTotal[33]

public client_connect(id)
{
g_iTotal[id] += 1.2
}

public plugin_natives()
{
register_native("get_user_total", "_get_user_total")
Forum: Scripting Help 07-26-2015, 03:50
Replies: 3
Views: 551
Posted By yl2401
Forum: Scripting Help 07-26-2015, 03:35
Replies: 3
Views: 551
Posted By yl2401
"set_task", What happened?

#include <amxmodx>
#define TASK_MUSIC 1000
new g_iPlaying[33], Temp[256]

new const Music[][] =
{
"sound/misc/music.mp3"
}

new Float:MusicTime[] =
Forum: Scripting Help 08-10-2014, 06:16
Replies: 6
Views: 824
Posted By yl2401
Re: Instead of the loop

THANK YOU! But I want to show the latest one to the first item in menu, show the second one to the second item in menu, and so on. So how to do a decrementing loop?
Showing results 1 to 25 of 38

 
Forum Jump

All times are GMT -4. The time now is 02:29.


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