Forum

> > CS2D > Scripts > Equip on spawn script not working.
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Equip on spawn script not working.

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Equip on spawn script not working.

deadlox995
User Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
10
11
12
============Spawn Equip Lua============
==========USGN: Deadlox & 121114============

addhook("spawn","eq")
function eq(id) 
    for id 1, 32 do       
         parse("equip "..id.." 74")
         parse("equip "..id.." 91") 
         parse("equip "..id.." 79")  
         parse("equip "..id.." 73")
         parse("equip "..id.." 77") 
end

taht is code plz chekc it qut what wrong iwth it plz!!!

alt Re: Equip on spawn script not working.

Devil-Thanh
GAME BANNED Off Offline

Zitieren
you miss 1 "end"
but I prefer this one:
1
2
3
4
5
6
7
8
addhook("spawn","eq")
function eq(id) 
         parse("equip "..id.." 74")
         parse("equip "..id.." 91") 
         parse("equip "..id.." 79")  
         parse("equip "..id.." 73")
         parse("equip "..id.." 77") 
end

alt Re: Equip on spawn script not working.

Avo
User Off Offline

Zitieren
@user Rainoth: It's annoying when I see some threads with almost the same title/ title which doesn't exactly say what thread is about.

"Search for a scripter", "Looking for a scripter", "Lua error", "Something wrong" and many more.

It doesn't matter know, because like you said, I understood the point.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht