like you press F3 then a menu opens, a space to wright the players name then the comand kind of like the vot kik thing, but is it possible to do hat with lua DC??
Forum
CS2D Scripts Lua Scripts/Questions/Helplike you press F3 then a menu opens, a space to wright the players name then the comand kind of like the vot kik thing, but is it possible to do hat with lua DC??
-GaS- has written
but is it possible to do hat with lua DC??
Its possible 75% of what you said, becouse I havent understand your 25%.
But for now, lua dont have function to get if player is with rcon.
You should make value of usgn users whitch can use admin features.
Dont ask "DC" in request, becouse he is not the only one who can answer.
Blazzingxx has written
Its possible 75% of what you said, becouse I havent understand your 25%.
But for now, lua dont have function to get if player is with rcon.
You should make value of usgn users whitch can use admin features.
Dont ask "DC" in request, becouse he is not the only one who can answer.
-GaS- has written
but is it possible to do hat with lua DC??
Its possible 75% of what you said, becouse I havent understand your 25%.
But for now, lua dont have function to get if player is with rcon.
You should make value of usgn users whitch can use admin features.
Dont ask "DC" in request, becouse he is not the only one who can answer.
what did you not understand i'll explain and wth are you saying i didnt get what you said
hers what im asking help with(and i explained super well:
you press F3 ,and a menu opens
--in the menu there are spaces in which you can wright
---there are many spaces like a list,like in he votekik menu
----you wright the name in the fist space
-----and then commands in all the others
------if its possible to execute the comands simoultanously that would be cooli dont expect it to be possible)
-------and also for th typing space, i would like hat when you klik it a menu of the players goes out(llike in the vote kik menu)
and i said DC coz i thought that HE would be the only ne to know ow to to itz(co he created the game, the vote kik menu)
did you understand now??
edited 3×, last 27.09.09 07:45:31 pm
like,a combination of buttons, you press the name buttonthe equip slap evt button, the a execute button is that possible
is that possible??
-GaS- has written
bla bla...
is that possible??
is that possible??
Acording my inventory in super hero 1.2,
Its posible.
I can make it & I will make it for other my mods. (Admin Plungin)
the script saves data to 'sys/lua/RPG_data/'
Load
Save
Btw, join[id] should be set 0 when he joins server.
You messed with "rpg_data" value... It should io.open file. Not as string in file directory.
1
2
2
[b]RPG_data[/b] = io.open(load_data..'RPG_data/'..player(id,"usgn")..'.txt','r') if ([b]ld_data[/b] ~= nil) then
And please, fix tabs.
{Dont forget that even this load system is mine.}
Blazzingxx has written
Acording my inventory in super hero 1.2,
Its posible.
I can make it & I will make it for other my mods. (Admin Plungin)
-GaS- has written
bla bla...
is that possible??
is that possible??
Acording my inventory in super hero 1.2,
Its posible.
I can make it & I will make it for other my mods. (Admin Plungin)
if it is possible, why don't you show me how ?!
how do you make it?? can you show me,plz!?
o ya and i suck in lua so i didnt get much of whats in your script( i checked it out and its seperated in like 20 part OMG!!)
Blazzingxx has written
To load data for player use "team" hook.
Btw, join[id] should be set 0 when he joins server.
You messed with "rpg_data" value... It should io.open file. Not as string in file directory.
see? ld_data should be RPG data, but in you code is no sence.
And please, fix tabs.
{Dont forget that even this load system is mine.}
Btw, join[id] should be set 0 when he joins server.
You messed with "rpg_data" value... It should io.open file. Not as string in file directory.
1
2
2
[b]RPG_data[/b] = io.open(load_data..'RPG_data/'..player(id,"usgn")..'.txt','r') if ([b]ld_data[/b] ~= nil) then
And please, fix tabs.
{Dont forget that even this load system is mine.}
ok thanks and i wont forget but do i need to use
1
file:write(experience[id],"\n",level[id],"\n",buildlevel[id]
1
experience[id] = tonumber(parses[1])
1
experience[id] = tonumber(parses[1],'\n',level[id] = tonumber(parsees[1]
the tabs in my script are correct but there not here
Btw, you dont need to use parses if you save data to lines.
Blazzingxx has written
then what do i do? Its much easier than you thought.
Btw, you dont need to use parses if you save data to lines.
Btw, you dont need to use parses if you save data to lines.
Flacko has written
You could try to tell us what errors does CS2D throw through the console.
who are you talking to?
how do you put color to messages ? :S
http://www.unrealsoftware.de/forum_posts.php?post=148675&start=0
Homer has written
i have a question.. how do you add strings or something.. example when you say !lock 'team' 'player'
you mean addhook
for a say comand
[code]
addhook('say','some_say')
function(id,text)
if (text==!lock) then
Whatever you want it to do
end
end