Forum

> > CS2D > Scripts > Lua Scripts/Questions/Help
Forums overviewCS2D overview Scripts overviewLog in to reply

English Lua Scripts/Questions/Help

6,770 replies
Page
To the start Previous 1 288 89 90338 339 Next To the start

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
It's impossible to force player for spraying. (There is simply no parsing functions for it)
You can make it only with cs2d image functions.
That way is more complicated. It's not a small script thought.

old the new dynamic object values

Toa Hero 92
User Off Offline

Quote
Can someone explain all the dynamic object values and demonstrate how I could make a script to find the values out in the game (like if my tile x&y +1 has a building on it already and i say a say commands like "building target?" it would send the variable in a sv_msg2 to the player)

old Re: Lua Scripts/Questions/Help

RAVENOUS
BANNED Off Offline

Quote
Just a little question: Is it possible that the Terrorists are not aviable to see in the radar for CTs, even if they see them??

old Re: Lua Scripts/Questions/Help

StartSomething
User Off Offline

Quote
Anyone use amx2d?
I try this command,
1
2
3
4
5
6
7
8
9
10
11
12
function adm_getip_admin(p, typ, cmd)
cmd = args(cmd, "p_id")
if player(cmd.p, "exists") do msg2(p, "Player " + cmd.p + "'s IP: "+player(cmd.p, "ip")
end
end

function adm_getusgn_admin(p, typ, cmd)
cmd = args(cmd, "p_usgn")
if player(cmd.p, "exists") do msg2(p, "Player " + cmd.p + "'s USGN:
"+player(cmd.p, "usgn")
end
end
They aren't working
Can someone tell me whats wrong?
IT says something like
On like 92 of Main.lua, it can't read sv or something

old Lol i ask.

GreenDevil
User Off Offline

Quote
Is it possible to make a trail with an image?

Edit:
or make the player invisible?
edited 1×, last 14.11.09 09:05:34 am

old Re: Lua Scripts/Questions/Help

Flacko
User Off Offline

Quote
Editorman has written
Is it possible to make a trail with an image?

Edit:
or make the player invisible?


1- Yes
2- I don't think so

old I have a big question!

GreenDevil
User Off Offline

Quote
What is the code, that when a player step on a tile the guns will be striped from him.

Edit:

Oh can u too post here the code that i can go through walls i need it for the plane! I making transfomartionv2.0
edited 1×, last 14.11.09 03:04:34 pm

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
Editorman has written
Spoiler >

Make that script yourself, it's easy scripts.
Dude, it's 3rd time you are asking, can you make something yourself?

Your transformation script actualy isn't fully yours
edited 1×, last 14.11.09 03:22:26 pm

old LOL

GreenDevil
User Off Offline

Quote
I just only know how to hook!

This what i just only know:

1
2
3
4
addhook("movetile","lol")
	function lol(id,x,y)
	--- Here i need to type ---
end

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
Editorman has written
Spoiler >

Lolz, don't you remember that I'm the guy who learnt you to make lua menus?

old Re: Lua Scripts/Questions/Help

Flacko
User Off Offline

Quote
Blazzingxx has written
Editorman has written
Spoiler >

Lolz, don't you remember that I'm the guy who learnt you to make lua menus?


The word is taught

old I remember

GreenDevil
User Off Offline

Quote
i remember about those menus and classes.

Oh and my skype is deleted because somebody hacked my whole pc and i needed to reinstall .

old Re: Lua Scripts/Questions/Help

SQ
Moderator Off Offline

Quote
@Flacko,
Yea, *taught

By the way, Flacko
I'm going to make wall detect script (for "#" files). Probably with help of Leegao.
I think we can make 100% car script in this version.

old Re: Lua Scripts/Questions/Help

StartSomething
User Off Offline

Quote
StartSomething has written
Anyone use amx2d?
I try this command,
1
2
3
4
5
6
7
8
9
10
11
12
function adm_getip_admin(p, typ, cmd)
cmd = args(cmd, "p_id")
if player(cmd.p, "exists") do msg2(p, "Player " + cmd.p + "'s IP: "+player(cmd.p, "ip")
end
end

function adm_getusgn_admin(p, typ, cmd)
cmd = args(cmd, "p_usgn")
if player(cmd.p, "exists") do msg2(p, "Player " + cmd.p + "'s USGN:
"+player(cmd.p, "usgn")
end
end
They aren't working
Can someone tell me whats wrong?
IT says something like
On like 92 of Main.lua, it can't read sv or something

Still don't understand
Been trying to fix it

old LOL!!

GreenDevil
User Off Offline

Quote
LOL. I made one vehicle on a very easy lua. Now all want to make vehicle's on their script's
To the start Previous 1 288 89 90338 339 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview