Forum

> > CS2D > Scripts > Bot hat
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Bot hat

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

verschoben Bot hat

DarkNeko
User Off Offline

Zitieren
somebody i need help for make bot hat the skins i have but i can't make this script

Admin/Mod Kommentar

Please use the scripts section for script stuff. Moved. /DC

alt Re: Bot hat

Raaj Nadar
User Off Offline

Zitieren
user TopNotch hat geschrieben
cs2d lua cmd image
cs2d lua hook join and an if statement to check if the player is a bot.
1
if player(id,"bot")==true then
or
1
if player(id,"usgn")==0 then


Top i think 2 will not work as if a player enters a server with no usgn then he will be considered as a bot...

alt Re: Bot hat

DarkNeko
User Off Offline

Zitieren
test this
code >

alt Re: Bot hat

AlcatrazZ
BANNED Off Offline

Zitieren
This line:
if player(id,"bot")==true then

you can write that like this:
if player( id, 'bot' ) then

or the negation of this:
if not player( id, 'bot' ) then
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht