guiCreateGridList
guiGridListAddRow
guiGridListSetItemText
Look on the wiki for Grid List code's, if that isn't too much work for you, instead of letting us do all the work: https://wiki.multitheftauto.com/wiki/El ... I/Gridlist
By added it to mtaserver.conf located to the deathmatch map.
Scroll down and you will see those lines:
<resource src="webadmin" startup="1" protected="0" />
Add more of these to start resources automatically.
Go to the race gamemode resource. Then open de modes map and then destructionderby.
Change these lines:
if getActivePlayerCount() <= 1 then
1 to 0 of course.
That problem is here already for a long time. Always if I create one, it shows in my own server but not in other big servers. Would too like to know why.
Learn to look...
function dxCreateLabel(367,27,,153,15,"Made By [Gta-Ar]#Ivan7",tocolor(255,0,0,255),default-bold,1,"right","top",blue)
end
)
"67,27,,1", 2 times ','
And this @ 3th argument:
bindKey( "F2", "down", "rules" )
if (isObjectInACLGroup("user." ..getAccountName(account), aclGetGroup("Admin"))) then --Not in Admin group.
outputChatBox("#FFFFFF[Admin] #00ccffError: Could not find the datatype!",player,unpack(scriptcol[2])) --Is just outputting because it's not in an 'if'.
objects = {
{1237, 2838.873, 1712.0601, 9.844},
{1237, 2855.843, 1712.0601, 9.844},
{1237, 2823.625, 1712.0601, 9.844},
}
objects2 = { }
for placeNumber, elementData in ipairs(objects) do
local gObject = createObject(elementData[1], elementData[2], elementData[3], elementData[4])
table.insert(createdObjects, gObject)
end
for placeNumber, elementData in ipairs(objects2) do
destroyElement(elementData)
end
objects2 = { }
I think this would work.
I guess (Not sure) with getElementsByType("object") and putting it on the resourceRoot. Otherwise, put the variable into another table, so you can delete everything using that table.
for placeNumber, elementData in ipairs(objects) do
--code
end
Loop through them
PS: If you destroy them from the table, I think they will not be able to be created anymore. You will have to do that with a table for positions, size, etc. only.
"It doesn't work, help!", "It doesn't work, fix it!", "It do"... Tell us what DOESN'T work, tell us what DEBUGSCRIPT 3 gives... Saying "It doesn't work" doesn't help us at ALL to help you.......