select hook for switch weapons? (wtf y everybody forgot this hook?)
Thenini7 You can do the banner with LUA images.EDIT: Yay! im first of the page!
edited 1×, last 02.07.16 05:58:27 pm
General
Ideas for CS2D - READ THE FIRST POST (OP)!
select hook for switch weapons? (wtf y everybody forgot this hook?)
Thenini7 You can do the banner with LUA images.
Waldin: You are totally right! I just didn't remember/find it!
hudtxtscale, it can change the scale of the hudtxts.parse('hudtxtscale '..playerid..' '..id..' '..scalex..' '..scaley)
Waldin: Huh? Didn't know too that there's a hook for this. Whether I couldn't remember it or the name is just too vague, well in the end it doesn't matter at all. That was plain dumb from my part.
Baloon: This has been suggested very often already. There are technical reasons for not having those (the way the server syncs ammo values with the client and UDP packet loss). You can use
player function a parameter like holdaddhook("always", "holding")
function holding()
for _,id in pairs(player(0,"livingtable") do
if player(id,"hold") = "E" then
	 if player(id,"x") == xx and player(id,"y") == xx then
	 blbllalbla
	 end
	end
end
end
RIP-HereRestsPlookerbooy: This is also something which has been requested quite often already. The problem is that the server is not aware of the keys that the client presses. This could be changed of course but it would cause a lot of additional traffic and/or would mean a lot of internal changes. An alternative would be a system where you define beforehand which key actions the client should submit to the server.
Waldin: it's pretty good idea, but you can just remove red lists.
Baloon: The point is that i dont know what server im deleting from my favorite server list.
projectile hook.I know it possible to do with
tween_move.
tween_move is only for images, I guess.
mp_lagcompensation
RedizGaming: You mean,the bullet (yellow like beam) projectile?
sonkii: Yes