Cze??, maj?c troch? czasu wolnego ucz? si? LUA/ b?dz dla zabawy przerabiam skrypty i wpad?em na pomys? aby przerobi? skrypt na wyrzucanie broni. Dok?adniej chodzi o to aby po wyrzuceniu nad broni? pojawia? si? napis na np.25Metr?w To chyba by?o DxDrawText (nie jestem pewny)
CLIENT-SIDE
[LUA]local screenWidth, screenHeight = guiGetScreenSize() -- Get the screen resolution
local currentGround = nil
local elementgg = {}
local bannedTeamsEnabled = true
local bannedTeams = { -- Useful if you got an RPG server and want to prevent abuse with weapon-spawning classes, then use above variable to toggle using below table and add your server's team names that wont be able to use drop gun
["LSPD"] = true,
[""] = true,
}
weaponmarkercolors = {
[0] = {255,255,255},
[1] = {100,100,255},
[2] = {0,230,0},
[3] = {0,150,0},
[4] = {255,255,0},
[5] = {255,204,0},
[6] = {150,0,150},
[7] = {255,0,255},
[8] = {0,0,255},
[9] = {204,255,255},
[10] = {255,100,100},
[11] = {255,255,255},
[12] = {255,255,255}
}
weaponsIDS = {
--0
[1] = 331,
--1
[2] = 333,
[3] = 334,
[4] = 335,
[5] = 336,
[6] = 337,
[7] = 338,
[8] = 339,
[9] = 341,
--2
[22] = 346,
[23] = 347,
[24] = 348,
--3
[25] = 349,
[26] = 350,
[27] = 351,
--4
[28] = 352,
[29] = 353,
[32] = 372,
--5
[30] = 355,
[31] = 356,
--6
[33] = 357,
[34] = 358,
--7
[35] = 359,
[36] = 360,
[37] = 361,
[38] = 362,
--8
[... |