-
Posts
21,935 -
Joined
-
Last visited
-
Days Won
6
Everything posted by Castillo
-
Try going directly to the webstats/webmap: http://yourserver:port/webstats/ http://yourserver:port/webmap/
-
Como me desbaneo de mi propio server
Castillo replied to Mateito14's topic in Ayuda relacionada al cliente/servidor
Anda al archivo "banlist.xml" en el directorio de tu servidor y borrate de ahi. -
You're welcome.
-
The login and password is an admin account from your server.
-
The HTTP port, not the server port.
-
There's nothing different in that script.
-
Webstats: https://wiki.multitheftauto.com/wiki/Resource:Webstats Webmap: It shows the ingame players and blips ( as far as I know ).
-
Well, there were many errors, one caused the script to don't even start, so, next time you really should pay more attention. local jobmarker = createMarker(1552.4996337891, -1677.3264160156, 15.1953125, "cylinder", 1.5, 0, 0, 255, 150) GUIEditor = { memo = {}, button = {}, window = {}, } function guiMyCwindow() windowjob = guiCreateWindow(272, 191, 276, 291, "LS Police") guiSetVisible(windowjob, false) guiWindowSetMovable(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.78) GUIEditor.memo[1] = guiCreateMemo(9, 24, 258, 98, "Welcome to the Los Santos Police Department Job! Accept or Decline the job!\nAccept : Help the city survive from criminals!\nDecline: Bye! See You Soon!!", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.button[1] = guiCreateButton(10, 240, 82, 35, "Accept", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(182, 240, 75, 35, "Decline", false, GUIEditor.window[1]) GUIEditor.button[11] = guiCreateButton(95, 225, 82, 23, "Quit Job", false, GUIEditor.window[20]) addEventHandler("onClientGUIClick", GUIEditor.button[1] , joinTeam, false) addEventHandler("onClientGUIClick", GUIEditor.button[11] , removePDWindow, false) addEventHandler("onClientGUIClick", GUIEditor.button[11] , removeTeam, false) end function PDjob(hitElement) if getElementType(hitElement) == "player" and (hitElement == localPlayer) then if not guiGetVisible(windowjob) then guiSetVisible(windowjob, true) showCursor(true) end end end addEventHandler("onClientMarkerHit", jobmarker, PDjob) function PDjobleave(leaveElement) if getElementType(leaveElement) == "player" and (leaveElement == localPlayer) then if guiGetVisible(windowjob) then guiSetVisible(windowjob, false) showCursor(false) end end end addEventHandler("onClientMarkerLeave", jobmarker, PDjobleave) function joinTeam() triggerServerEvent("setPD",localPlayer) guiSetVisible(windowjob, false) showCursor(false) end function removeTeam() triggerServerEvent("removePD",localPlayer) guiSetVisible(windowjob, false) showCursor(false) end function removePDWindow() guiSetVisible(windowjob, false) showCursor(false) end
-
Which marker? this one? local jobmarker = createMarker(1552.4996337891, -1677.3264160156, 15.1953125, "Cylinder", 1.5, 0, 0, 255, 150)
-
You put it as client side? do you get any error?
-
nacitavanie = 0 createPed ( 40, 173.35345, -1320.99438, 79.13128 ) function load ( ) nacitavanie = nacitavanie + 1 if getPedOccupiedVehicle(localPlayer) then local x, y, z = getElementPosition(getPedOccupiedVehicle(localPlayer)) setElementPosition(getPedOccupiedVehicle(localPlayer), x, y, z) end fadeCamera ( true ) if nacitavanie > 3350 then setCameraMatrix(-437.14282226563 + nacitavanie, -1320 + nacitavanie - 3350, 80, 2580, -1628.5712890625, -300, 0, 70) else setCameraMatrix(-437.14282226563 + nacitavanie, -1320, 80, 2580, -1628.5712890625, -300, 0, 70) end end addEvent ( "onTravelScreenStart", true ) addEventHandler ( "onTravelScreenStart", getRootElement(), load )
-
If that's what he wants, then this should do: function skinstaff ( ) local team = getPlayerTeam ( localPlayer ) if ( team and getTeamName ( team ) == "STAFF" ) then local skin1 = dxCreateTexture ( "images/wfyclot.jpg", "dxt5" ) local skin2 = dxCreateTexture ( "images/wmyclot.jpg", "dxt5" ) local shader1 = dxCreateShader ( "texture.fx" ) local shader2 = dxCreateShader ( "texture.fx" ) dxSetShaderValue ( shader1, "gTexture", skin1 ) dxSetShaderValue ( shader2, "gTexture", skin2 ) engineApplyShaderToWorldTexture ( shader1, "wfyclot" ) engineApplyShaderToWorldTexture ( shader2, "wmyclot" ) end end addEventHandler ( "onClientResourceStart", resourceRoot, skinstaff )
-
As far as I know, "libmysql" comes with MTA server, is not a module.
-
Mind giving more information? what is the problem?
-
You can try with this resource too: https://community.multitheftauto.com/in ... ils&id=612
-
You can use: setSkyGradient
-
To lock teams to gangs you'll have to edit the spawn system itself.
-
A que te referis con speaker? hablar por el microfono?
-
That would be useless, because the player can't join the game if he's banned. The script from xXMADEXx is a custom ban system.
-
string.len Or you can also do: string = "Hello World" outputChatBox ( #string )