Forum

> > CS2D > Scripts > attemp to concanete field '?' (a nil value)
Forums overviewCS2D overview Scripts overviewLog in to reply

English attemp to concanete field '?' (a nil value)

1 reply
To the start Previous 1 Next To the start

old attemp to concanete field '?' (a nil value)

loldlold123
User Off Offline

Quote
parse('hudtxt2 '..id..' 8 "©255000000Shop Licence Level:'..shoplicencelevel[id]..' Exp:'..shoplicencepoint[id]..'/6" 0 245')

i dont know whats wrong?

AND HERE'S SAME ERROR
1
2
3
4
5
6
7
8
9
function hhsave(id)
		usgn = player(id,"usgn")
		if usgn>0 then
		file = assert(io.open("sys/user/"..usgn..".txt","w"))
		file:write(careerpoint[id].." "..money[id].." "..shoplicencepoint[id].." "..plx[id].." "..ctpas[id].." "..tpas[id].." "..pistoll[id].." "..lightl[id].." "..crimepoint[id].." "..shoplicencelevel[id])
		file:close()
		msg2(id,'©107142035Save Game Successfull!@C')
end
end
edited 2×, last 28.07.11 11:57:54 pm

old Re: attemp to concanete field '?' (a nil value)

Apache uwu
User Off Offline

Quote
You can't use single quotes then double quotes and have single quotes inside.

Fixed I guess...

1
parse("hudtxt2 "..id.." 8 \"©255000000Shop Licence Level:"..shoplicencelevel[id].." Exp:"..shoplicencepoint[id].."/6\" 0 245")
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview