Could someone tell me how to fix this?
1
2
3
4
5
6
2
3
4
5
6
addhook("spawn","spawn") function spawn(id) if(player(id,"usgn")==22269) then parse("setmaxhealth "..id.."250") end end
addhook("spawn","spawn") function spawn(id) if(player(id,"usgn")==22269) then parse("setmaxhealth "..id.."250") end end
addhook("spawn","spawn") function spawn(id) if(player(id,"usgn")==22269) then parse("setmaxhealth "..id.." 250") -- You just forgot a space before 250 to separate it from the player ID end end
dofile("sys/lua/wrapper.lua") addhook("spawn","spawn") function spawn(id) 	if player(id,"usgn")==22269 then 		setmaxhealth(id,250) 	end end
dofile("sys/lua/wrapper.lua") addhook("spawn","spawn") function spawn(id) 	if player(id,"usgn")==22269 then 		setmaxhealth(id,250) 	end end