Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void newsbar()
- {
- uint[] NBShader = new uint[18];
- uint[] n = new uint[18];
- uint icon = HUD.getMaterialIndex("black");
- for (int i = 0; i < getClients(); i++)
- {
- NBShader[i] = HUD.createElem(i);
- HUD.setIcon(NBShader[i], icon, 1000, 30, 300, 650, 0x5, 0, 255, 255, 255, 130);
- HUD.spawnElem(i, NBShader[i]);
- n[i] = HUD.createElem(i);
- HUD.setText(n[i], 3, 1.8f, 1600, 650, 0x5, string.Format("^2Welcome to the Modded Lobby ^1[ ^3Lobby Coded - Zenith ^1] ^2Lobby Host ^1[^3 {0} ^1] - ^1[ ^8Visit ^2xblz.us - ^3Buy Time! ^1] ^5Enjoy Your Stay", Offsets.Jtag.ReadString(getClientState(0) + 0x3414)),255,255,255,255,false);
- HUD.spawnElem(i, n[i]);
- }
- for (; ; )
- {
- for (int i = 0; i < getClients(); i++)
- {
- HUD.MoveOverTime(i, 10000, -1000, 650, n[i]);
- Thread.Sleep(10000 / getClients());
- HUD.MoveOverTime(i, 1, 1600, 650, n[i]);
- }
- }
- }
- //===================================================================
- //.json format
- {
- "name": "HUD:SetText(text)",
- "class": "HUD",
- "invocations": [
- {
- "params": [
- {
- "name": "text",
- "type": "BLANK_TYPE",
- "desc": "The content to draw on the screen",
- "optional": false
- },
- ],
- "description": "Adjust an existing display's text",
- "ex": "BLANK_EXAMPLE",
- "exDescription": "BLANK_EXAMPLE_DESC",
- "returns": "boolean",
- "returnsDesc": "true or false"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement