0 Members and 1 Guest are viewing this topic.
First: Just some random idea that came up to me when I worked on AntiCheat :3
Second: Coders are lazy, man
wtf is programmes.. why would you need it? And you can calculate timeconnected with two lines of code <.<
GiveBonus(ID,0); // Ends all timed bonuses (berserker,predator,flamegod)GiveBonus(ID,BonusID,Time); // Time = any integer value (in seconds)
Function CreateGUI(ID,Transparency:Byte; XPosition,YPosition,ScaleX,ScaleY:Single; Title:String; Colour:LongInt): Byte; // Returns the ID of the GUI, position and scale should be understandableFunction TextField(GUIID:Byte; XPosition,YPosition:Single; Title:String; Colour:LongInt): Byte; // Creates a textfield, the player is able to write somethingFunction CreateButton(GUIID:Byte; XPosition,YPosition,XScale,YScale:Single; Title:String; Colour:LongInt): Byte; // Creates a button, that players are able to pressProcedure OnPressButton(ID,ButtonID:Byte); // Triggers whenever a player hits a buttonProcedure OnTextInput(ID:Byte; Input:String); // Triggers whenever a player uses a text field
^|If you do getplayerstat(ID,'team') in OnJoinTeam it will return the previous team.
some particle support would be good (like jets and sparks)procedure createParticles(r;g;b; speed; direction; speedRange=0; directionRange=0, amount=1);this way we don't need to use explosions to make a sign
I think particles would be too heavy for soldat, and cause alot of lag and other problems.
would make scripting much more exciting
procedure RaiseLastException;procedure RaiseException(Ex: TIFException; Param: string);function ExceptionType: TIFException;function ExceptionParam: string;function ExceptionProc: Cardinal;function ExceptionPos: Cardinal;function ExceptionToString(er: TIFException; Param: string): string;