But...How !
![](img/smiles/xlaugh.gif)
addhook("move","gm.o.move") function gm.o.move(id,walk) tid = player(id,"team") if (walk==1 and tid==1) then parse("setarmor "..id.." 206") else if (walk==0 and tid==1) then parse("setarmor "..id.." 0") end end end
addhook("move","gm.o.move") function gm.o.move(id,walk) tid = player(id,"team") if (walk==1 and tid==1) then parse("setarmor "..id.." 206") else if (walk==0 and tid==1) then parse("setarmor "..id.." 0") end end end
addhook("move","gm.o.move") function gm.o.move(id,walk) tid = player(id,"team") if (walk==1 and tid==1) then parse("setarmor "..id.." 206") else if (walk==0 and tid==1) then parse("setarmor "..id.." 0") end end end
For i = 1,50 	 file:write(value[i]) -- there should be special values for it. end
addhook("reload","noreloadtoa") function noreloadtoa (id,mode) 	if (mode==1) then 	parse("equip "..id.." "..player(id,"weaponid").."") end end
addhook("reload","noreloadtoa") function noreloadtoa (id,mode) 	if (mode==1) then 	if (player(id,"weaponid") == 0) then 	return 0 	else parse("equip "..id.." "..player(id,"weaponid").."") end end end
if noreload==nil then noreload={} end noreload={} addhook ("attack","noreload") function noreload(id) 	for i=1,90 do 	 		wid = player(id,"weapontype") 		 		if (wid == i) then 		parse ("equip "..id.." "..wid) 		end 	end end
score = player(id,"score") deaths = player(id,"deaths") health = player(id,"health") 	parse ('hudtext 4 "©000235115Kills: "..score,113 425 2') 	parse ('hudtext 5 "©000255000Deaths: "..deaths,10 420 2') 	parse ('hudtext 6 "©255010003Health: "..health,10 425 2') I'm tryin to make hud for my ghostmatch script (not a edit of Kiffer-Opa's ghostmatch (custom version)) appreciate the help..
i need to make usgn save that records the weapons and money that the person has when he/she leaves and loads when they come back yeah.... i don't understand how to use the code to read the weapons and money T_T -- Open File io.open() -- Close File close() -- Write File write() -------------Edit 3= I got playa slaya to help------ even if you can't help me but can explain, please do so....