Forum

> > CS2D > Scripts > Lua Scripts/Questions/Help
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Lua Scripts/Questions/Help

6.770 Antworten
Seite
Zum Anfang Vorherige 1 2243 244 245338 339 Nächste Zum Anfang

alt Re: Lua Scripts/Questions/Help

Soja1997
User Off Offline

Zitieren
Arctic hat geschrieben
Soja1997 hat geschrieben
i dont need this script but now i need reset funciton glow,freeimage on player


reset or remove the image?

for hook 'say' this is example! others thing use your brain.
1
2
3
if (txt == "!remove") then
		freeimage(id)
end

for hook 'serveraction'
1
2
3
if (action == 1) then -- 1 mean for F2/serveraction1
		freeimage(id)
end

dont work;/ no errors

alt Re: Lua Scripts/Questions/Help

Blacko
User Off Offline

Zitieren
Hi, I need your help !
I search a script who make a color of different writting and with the name "Admin" after the pseudo and quite his configured with the USGN, for example : iDios(Admin):I need your help ! ... And all written in the color red for example ...
Thanks you !

alt Re: Lua Scripts/Questions/Help

Rainoth
Moderator Off Offline

Zitieren
This was written 1 page before iDios.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Code:
addhook("say","adminsay")
function membersay(id,t)
if (player(id,"usgn") == 15476) then
if t=="rank" then
return 0
else
msg("©255000000"..player(id,"name").." (Script Author): "..t)
return 1 end
elseif (player(id,"usgn") == YourUSIDhere) then
if t=="rank" then
return 0
else
msg("©255000000"..player(id,"name").." (Admin): "..t)
return 1
end
end
end

Where written "YourUSIDhere" change to your ID

alt Rp Lua Prob

Slayer
User Off Offline

Zitieren
I have a prob w/ my...rp Lua here's the problems:
1. When I do !rp_admin dunno it goes at the chat
2. When I talk it spams 2 msg's
so thts all pls FIX!

And here's download link it won't show up here so: http://www.mediafire.com/?mu17ifsv8t9sdua its txt doc but if u use Goggle Chrome its Lua so plz fix

alt Re: Lua Scripts/Questions/Help

HaRe
User Off Offline

Zitieren
batlaizys hat geschrieben
I have a question about "menu" hook. Is it posible to make exampl 5 menus with 1 "menu" hook ? If so then how ?

idk if you mean this but

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
addhook("serveraction","menu1")
function menu1(id,b)
	if b==1 then
		menu(id,"Menu 1,Menu 2,Menu 3,Menu 4")
	end
end

function menu2(id)
	menu(id,"Menu 2,This is menu 2,what ever")
end
function menu3(id)
	menu(id,"Menu 3,This is menu 3,what ever")
end
function menu4(id)
	menu(id,"Menu 4,This is menu 4,what ever")
end

addhook("menu","menu1m")
function menu1m(id,title,button)
	if title=="Menu 1" then
		if button==1 then
			menu2(id)
		elseif button==2 then
			menu3(id)
		elseif button==3 then
			menu4(id)
		end
	end
end

alt Kamikaze for team 1

wero
User Off Offline

Zitieren
I need script that makes this kamikaze work only for team 1


Spoiler >

alt Re: Lua Scripts/Questions/Help

HaRe
User Off Offline

Zitieren
Soja1997 hat geschrieben
i need script if player kill player give him medikit


1
2
3
4
addhook("die","getmedikit")
function getmedikit(victim,killer,weapon,x,y)
	parse("sethealth "..killer.." 100")
end

alt Re: Lua Scripts/Questions/Help

Blacko
User Off Offline

Zitieren
Hi all, today I saw a strange script in the map [Bloker] ! This script allowed admins (with their USGN) to cross walls ! The movements when they cross are the same that those of the NPC ! I think he move with a menu ? Is it a script ? If yes how to make it ? Sorry for my english
Thanks you !
1× editiert, zuletzt 29.08.10 18:28:10

alt Re: Lua Scripts/Questions/Help

KenVo
User Off Offline

Zitieren
I need some help with my mana system in my tibia script
when i have under 100 mana and when i quit then rejoin the server, my mana will me glitched and i'm not gaining mana any more

Spoiler >


please help
Zum Anfang Vorherige 1 2243 244 245338 339 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht