Forum

> > CS2D > Scripts > Please hudtxt not working
Forums overviewCS2D overview Scripts overviewLog in to reply

English Please hudtxt not working

3 replies
To the start Previous 1 Next To the start

old Please hudtxt not working

Mami Tomoe
User Off Offline

Quote
ok so i have this code ok? ok
1
2
parse('hudtxt2 "'..id..'" "'..toid1..'" "Red Team: '..FTWin[1]..'" "14" "194"')
parse('hudtxt2 "'..id..'" "'..toid2..'" "Blue Team: '..FTWin[2]..'" "14" "210"')

its not showing
and i come here to ask for help pls
ok bye guys pls help pls

old Re: Please hudtxt not working

_oops
User Off Offline

Quote
1
2
parse("hudtxt2 "..id.." "..toid1.." \"Red Team: "..FTWin[1].."\" 14 194")
parse("hudtxt2 "..id.." "..toid2.." \"Blue Team: "..FTWin[2].."\" 14 210")

old Re: Please hudtxt not working

Waldin
User Off Offline

Quote
You shouldn't use quotation marks in every argument/parameter, just in a text input like this
parse('hudtxt2 '..id..' '..toid2..' "Red team: '..FTWin[1]..'" 14 194 ')

See, just used in "Red team: '..FTWin[1]..'", used simple quotation marks ( ' ) for lua command, and " for the console one.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview