how to get back the unknown string of two public ?
Code:
#include <amxmodx> |
Re: how to get back the unknown string of two public ?
PHP Code:
|
Re: how to get back the unknown string of two public ?
PHP Code:
|
Re: how to get back the unknown string of two public ?
Something is rong in menu when i press 3 is not working but w/e (I don't like "old style menu") ! This works
Code:
#include <amxmodx> |
Re: how to get back the unknown string of two public ?
can i make it's %d if i have unknown number string ?
g_number[id][%d] = random(256) |
Re: how to get back the unknown string of two public ?
Dunno what you'r tryng to do , or what you talking about!
Quote:
|
Re: how to get back the unknown string of two public ?
Quote:
i have two table in mysql (db = test): number | name 5 Sam 45 Paul 67 Sam Code:
public plugin_init() {one player connect server , he's name called "Sam" type "test" in console...it's show menu like: 1. 5 2. 67 if he press 1 , case 0 i want to get the number 5 if he press 2 , case 1 i want to get the number 67 sorry...my bad english....thanks |
Re: how to get back the unknown string of two public ?
Man look carefully at my code above again! When display menu is showing random numbers for option 1. 2. 3. !
After that at function under menu display you showing the results! g_number[id][0] g_number[id][1] // Those are results! g_number[id][2] |
Re: how to get back the unknown string of two public ?
Quote:
Code:
public plugin_init() {there have two result in this case.. how can i use "for (new i=1;i<=dbi_num_rows(result);i++)" to make [0] = i++ to save the value?? g_number[id][0] = ("%d", number) |
Re: how to get back the unknown string of two public ?
Man you don't understand something! g_number[id][0] saves the number already! You must use it somewhere ;like in print_chat!
Code:
g_number [id] [3]g_number[id][0] g_number[id][1] //2D arrays g_number[id][2] .................... g_number[id][9] :| Or you can do like this: Code:
new x; |
| All times are GMT -4. The time now is 21:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.