0 Members and 1 Guest are viewing this topic.
Function OnPlayerShoot (ID, Weapon: Byte): Boolean;begin Result := false; // false: Discard bullet (dont create it), true: Create itend;Function GetCursorPosition (ID: Byte; X: Boolean): Single;begin if X = true then Result := {get cursor position code here(X)} else Result := {get cursor position code here(Y)};end;
I'd also like SetPlayerVelocity(ID: byte, VelX, VelY: Single)