This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using AltV.Net; | |
namespace Server.Roleplay.Models; | |
public class RpcAnswer : IWritable | |
{ | |
private readonly IWritable? data; | |
private LinkedList<ValidationError>? errors; | |
private RpcAnswer(IWritable? data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as alt from 'alt-client'; | |
export interface WorldElementData { | |
pos: () => alt.Vector3; | |
text: () => string; | |
losCheck?: () => boolean; | |
rangeSquared?: number; | |
} | |
export interface WorldDocumentConfig { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Import-Module posh-git | |
function prompt | |
{ | |
$width = $Host.UI.RawUI.BufferSize.Width | |
$ESC = [char]27 | |
$fg = "$ESC[35m" | |
$username = $env:username | |
$width -= $username.Length |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare const enum Color { | |
AliceBlue = '#f0f8ff', | |
AntiqueWhite = '#faebd7', | |
Aqua = '#00ffff', | |
AquaMarine = '#7fffd4', | |
Azure = '#f0ffff', | |
Beige = '#f5f5dc', | |
Bisque = '#ffe4c4', | |
Black = '#000000', | |
BlanchedAlmond = '#ffebcd', |