0 Members and 1 Guest are viewing this topic.
function isInPoly(X,Y: single): boolean;var Dist: single;begin Result := iif(RayCast(X,Y,X,Y,Dist,1), false, true);end;
putplayericon(ID,"/downloads/medic.png",Teamviewonly=true/false)can be very usefull for scripts with classes
Hotkey(ID,Number: byte)
Hey enesce,Here's a very personnel request of mine for the upcoming server / client versions:Add the function to the number keys (1-9 & 0) on the keyboard that when you press them, a special command is sent to the server you're playing on.These commands would have the only effect of triggering a scriptingcore event on the server like:Code: [Select]Hotkey(ID,Number: byte)This would make total game modifications like Hexer, MMod or Tactical Trenchwars get rid off having to use taunts for fast special ability usage.Thus, such mods would be way easier to get into for beginners that don't really know yet how to bind taunts or are too lazy to bind them exclusively for that mod.Thanks for considering ciao, ava