Forum

> > CS2D > Scripts > Bot hat
Forums overviewCS2D overview Scripts overviewLog in to reply

English Bot hat

5 replies
To the start Previous 1 Next To the start

moved Bot hat

DarkNeko
User Off Offline

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

Admin/mod comment

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

old Re: Bot hat

Raaj Nadar
User Off Offline

Quote
user TopNotch has written
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...

old Re: Bot hat

DarkNeko
User Off Offline

Quote
test this
code >

old Re: Bot hat

AlcatrazZ
BANNED Off Offline

Quote
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
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview