how to do that ???
 
 and another thing, how to make if player pressed f button he will get +1000 money ? pls i need those scripts to make fun thing in my script
 
  edited 1×, last 04.04.17 10:32:24 am
 
  CS2D
 CS2D  Scripts
 
Scripts  need script...
 need script... need script...
 need script... 
  1
 1  
 
 
  
  addhook("objectkill","npckill")
function npckill(oid,pid)
	if pid > 0 then -- If object is killed by a player
		if object(oid,"type") == 30 then -- If object is NPC
			parse("setmoney "..pid.." "..player(pid,"money")+1000)) -- Adds $1000 to the player's money, game automatically caps to $16k
		end
	end
end
addhook("flashlight","flcash")
function flcash(pid)
	parse("setmoney "..pid.." "..player(pid,"money")+1000))
end
 Cure Pikachu:
 Cure Pikachu: Thanks, but where i can find object list with numbers?
  Thanks, but where i can find object list with numbers?  
  1
 1  
 