Forum

> > CS2D > General > Lua Scripts
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch Lua Scripts

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt geschlossen Lua Scripts

blood2d
User Off Offline

Zitieren
The next code is for reset your score

addhook("say","rs")
function rs(p,txt)
if (txt=="!rs;!resetscore") then
parse("setscore "..p.." 0")
parse("setdeaths "..p.." 0")
msg(player(p,"name").." reset score")
return 1
end
end


The next code is for respawn money


if flacko==nil then flacko={} end
flacko.cash={}

addhook("startround","flacko.cash.spawncash")
function flacko.cash.spawncash(p)
for i=1, 32 do
if(player(i,"exists")) then
parse("setmoney "..i.." 16000")
end
end
end


The next code is FunMod (Created By me)


if fun==nil then fun={} end
fun={}

addhook("startround","fun.weapons")
function fun.weapons(p)
for i=1, 32 do
if(player(i,"exists")) then
msg("Use !fun for get all the weapons")
parse("equip "..i.." 46")
parse("equip "..i.." 47")
parse("equip "..i.." 48")
parse("equip "..i.." 49")
parse("equip "..i.." 51")
parse("equip "..i.." 52")
parse("equip "..i.." 53")
parse("equip "..i.." 54")
parse("equip "..i.." 58")
parse("equip "..i.." 69")
parse("equip "..i.." 72")
parse("equip "..i.." 73")
parse("equip "..i.." 74")
parse("equip "..i.." 75")
parse("equip "..i.." 76")
parse("equip "..i.." 77")
parse("equip "..i.." 78")
parse("equip "..i.." 85")
parse("equip "..i.." 86")
parse("equip "..i.." 87")
parse("equip "..i.." 88")
end
end
end

addhook("say","funweapons")
function funweapons(p,txt)
if (txt=="!fun") then
for i=1, 32 do
parse("equip "..i.." 46")
parse("equip "..i.." 47")
parse("equip "..i.." 48")
parse("equip "..i.." 49")
parse("equip "..i.." 51")
parse("equip "..i.." 52")
parse("equip "..i.." 53")
parse("equip "..i.." 54")
parse("equip "..i.." 58")
parse("equip "..i.." 69")
parse("equip "..i.." 72")
parse("equip "..i.." 73")
parse("equip "..i.." 74")
parse("equip "..i.." 75")
parse("equip "..i.." 76")
parse("equip "..i.." 77")
parse("equip "..i.." 78")
parse("equip "..i.." 85")
parse("equip "..i.." 86")
parse("equip "..i.." 87")
parse("equip "..i.." 88")
msg(player(p,"name").." been used !fun to get all")
end
end
end

Admin/Mod Kommentar

Stolen + There is already a lua thread. Closed. /TheKilledDeath

alt Re: Lua Scripts

davidavid
User Off Offline

Zitieren
Why did you posted scripts that are not yours? (I'm sure without permisson)
and..you should use the File Archive..
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht