BluntZ
Members-
Posts
220 -
Joined
-
Last visited
Everything posted by BluntZ
-
I Added new admin panel , Both were working fine but after some time when I tried to add object in acl group it was showing error so then I came to know that whole admin panel is bug , can you contact me on skype ? I already pm u
-
Hello Everyone , Kindly Help When I try to Start or stop or Do Any Admin things from admin panel it is giving me error in debugscript 3 : Access denied ...Please Help I will wait for your Answers
-
As far As I understand is , you want specific Skins in Skin Shop , Can you post Skin shop client side ? so that I can further help you
-
Lmfao Nice Try to add some more things in it
-
Zero Can you use Translator ? I cant understand what you really want
-
I cant understand your language try to use Translator and explain me more so that I can further Help you
-
idk but probally it will be /gc , /clanc , if it will not work then try to add this in your client file [lua]-- group chat -- addCommandHandler ( "clanc", function ( plr, _, ... ) local message = table.concat ( { ... }, " " ) local g = getPlayerGroup ( plr ) if ( not g ) then return outputChatBox ( "You cannot use this command, you're not in a group", plr, 255, 0, 0 ) end if ( message:gsub ( " ", "" ) == "" ) then return outputChatBox ( "You didn't enter a message. Syntax: /clanc message", plr, 255, 0, 0 ) end outputGroupMessage("[ClanChat] " ( plr, message ), g, true )
-
Thanks seba , problem Solved
-
He just mentioned Solution
-
Now it is giving me error : Attempt to call globle Setsize on Line 1 server side
-
I did just like you said but still it is giving error
-
i say for you in your server What you mean sir ?
-
Error : Attempt to concentrate on booleen value EDITED : IN line number 25
-
What you mean Seba ? Can u explain me ?
-
Check debugscript for any errors. I've did extensive testing with the download, it should work fine. The mods spawn into the ground because they kinda jump when MTA replaces the models. You can modify the resource so that when the mods are replaced, you can set the position to X, Y, Z + 1 Already did , Thanks
-
It has bug , when I tried to Replace all my mods to New Update , Downloading is stuck , Mods are downloading in back ground but it is not showing on screen ...Hope you will fix this problem
-
Hello , Any one can help me ? My friend gave me this group spawner system but it is bugg too -.- , Any one can help me to fix it ? Server Side marker = {} vehicleCarSpawns = { -- Format: x, y, z, rotation, "Group", {cars} {297.18, 2049.94, 34.28, "Military", {596, 597, 598, 599, 579, 490, 528}}, {1523, -2847.8, 0, 180, "FBI", {472, 473, 595}} } addEventHandler ( "onResourceStart", resourceRoot, function ( ) for i,v in ipairs ( vehicleCarSpawns ) do local x, y, z, rot, group, cars = unpack ( vehicleCarSpawns [ i ] ) marker [ i ] = createMarker ( x, y, z - 1, "cylinder", 2.3, r, g, b, 150 ) setElementData ( marker [ i ], "markerIndex", i, false ) addEventHandler ( "onMarkerHit", marker [ i ], onSpawnerMarkerHit ) end end ) function onSpawnerMarkerHit ( p ) local index = getElementData ( source, "markerIndex" ) local x, y, z, rot, group, cars = unpack ( vehicleCarSpawns [ index ] ) if ( group == exports [ 'NGGroups' ]:getPlayerGroup ( v ) ) then triggerClientEvent ( p, "showGroupVehicleSpawners", p, cars, x, y, z ) else triggerClientEvent(p,"message:centerText",p,"Your not in the "..getElementData(source,"markerType"), 5, 255, 0, 0) end end vehicle = {} function onDestroyCustomCars() if isElement(vehicle[source]) then destroyElement(vehicle[source]) vehicle[source] = nil end end addEventHandler("onPlayerQuit", root, onDestroyCustomCars) addEvent("onDestroyCustomCars",true) addEventHandler("onDestroyCustomCars",root,onDestroyCustomCars) function onCreateGroupVehicle(id,x,y,z) if (id) then if (isElement(vehicle[source])) then destroyElement(vehicle[source]) end triggerEvent("spawners:destroyOldCars",source) if (tonumber(x) ~= nil) then vehicle[source] = createVehicle(id, x, y, z, 0, 0, rot) else local rx,ry,rz = getElementPosition(source) vehicle[source] = createVehicle(id, rx, ry, rz, 0, 0, 0) end warpPedIntoVehicle(source,vehicle[source]) setElementData(vehicle[source],"vehOwner","spawners",true) setVehicleColor(vehicle[source],r,g,b) end end addEvent("onCreateGroupVehicle",true) addEventHandler("onCreateGroupVehicle",root,onCreateGroupVehicle) Client Side local rx,ry = guiGetScreenSize() button = {} window = {} gridlist = {} window['groups'] = guiCreateWindow((rx/2-343/2),(rx/2-316/2),343,316,"",false) guiSetAlpha(window['groups'],1) guiWindowSetSizable(window['groups'],false) button['groupsSpawn'] = guiCreateButton(11,267,160,40,"Spawn",false,window['groups']) button['groupsClose'] = guiCreateButton(173,267,161,40,"Cancel",false,window['groups']) guiSetVisible( window['groups'], false ) gridlist['groups'] = guiCreateGridList(9,22,324,243,false,window['groups']) guiGridListAddColumn(gridlist['groups'],"Vehicle",0.4) guiGridListAddColumn(gridlist['groups'],"ID",0.4) function showGroupVehicleSpawners(cars,x,y,z) x = x y = y z = z guiSetVisible(window['groups'],true) showCursor(true) for i,v in ipairs (cars) do local name = getVehicleNameFromModel(v) -- BUGGED LINE row = guiGridListAddRow(gridlist['groups']) guiGridListSetItemText(gridlist['groups'], row, 1, name, false, false) -- BUGGED LINE guiGridListSetItemData(gridlist['groups'], row, 1, v) guiGridListSetItemText(gridlist['groups'], row, 2, tostring(v), false, false) guiGridListSetItemData(gridlist['groups'], row, 2, v) end end addEvent("showGroupVehicleSpawners",true) addEventHandler("showGroupVehicleSpawners",root,showGroupVehicleSpawners) addEventHandler("onClientGUIClick",root, function () if (source==button['groupsClose']) then guiGridListClear(gridlist['groups']) guiSetVisible(window['groups'],false) showCursor(false,false) elseif (source==button['groupsSpawn']) then local row, col = guiGridListGetSelectedItem(gridlist['groups']) local id = guiGridListGetItemData(gridlist['groups'], row, 1) triggerServerEvent("onCreateGroupVehicle",localPlayer,id,x,y,z) guiGridListClear(gridlist['groups']) guiSetVisible(window['groups'],false) showCursor(false,false) end end ) Any help ? its giving me error in Line number 25 of server side
-
Thanks but now GUI is not closing/Can't spawn Any vehicle
-
Wow Awesome , Waiting for your release
-
THere is no bugs in debugscript 3 I also cant understand why its not working
-
Hello Any one can help me ? I tried to make group spawner but its not working , Can you help me find error And solve it ? GUIEditor_Button = {} GUIEditor_Grid = {} GUIEditor_Marker = {} GUIEditor_Window = {} local marker = {} local groupName = 'Military' vehicleId = {402} marker = createMarker(270.71, 2045.76, 34.32,"cylinder",1.5,0,0,150,150) local x,y = guiGetScreenSize() local x = x - 208 local y = y - 321 GUIEditor_Window[1] = guiCreateWindow(500,147,246,413,"Select Car",false) guiSetVisible(GUIEditor_Window[1],false) guiSetAlpha(GUIEditor_Window[1],1) guiWindowSetSizable(GUIEditor_Window[1],false) GUIEditor_Grid[1] = guiCreateGridList(9,34,228,255,false,GUIEditor_Window[1]) guiGridListSetSelectionMode(GUIEditor_Grid[1],2) column = guiGridListAddColumn(GUIEditor_Grid[1],"vehicle name",0.5) GUIEditor_Button[2] = guiCreateButton(20,308,210,41,"Select",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(20,352,210,41,"Close",false,GUIEditor_Window[1]) for i,id in ipairs ( vehicleId ) do guiGridListSetItemText ( GUIEditor_Grid[1], guiGridListAddRow( GUIEditor_Grid[1] ), column, getVehicleNameFromModel( id ), false, false ) end addEventHandler ("onClientMarkerHit", marker, function( player ) if getPlayerTeam( player ) and getTeamName( getPlayerTeam( player ) ) == 'No Team' and not isPedInVehicle( player ) and player == localPlayer and getElementData ( player , "Group" ) == groupName then x999,y999,z999 = getElementPosition( localPlayer ) setElementFrozen ( localPlayer, true ) guiSetVisible(GUIEditor_Window[1],true) showCursor( true ) end end ) Thanks in advance
-
It will work in mta version 1.4/1.5 ? if yes then what is command to use this function ? I will wait for your answer Thanks in advance
-
Hello XxMadeXx Can you help me please ? Someone accidentally deleted sql and when I put back sql All accounts are showing in "Not verified section" in account manger ..Any solution so that I can made them verified because if I will delete them All data will be lost , Hours too Any solution ?
-
Good job , Keep it up
