Jump to content

CastiaL

Members
  • Posts

    110
  • Joined

  • Last visited

  • Days Won

    2

CastiaL last won the day on August 12 2021

CastiaL had the most liked content!

2 Followers

About CastiaL

  • Birthday May 11

Details

  • Location
    Turkey
  • Interests
    Script

Recent Profile Visitors

5,419 profile views

CastiaL's Achievements

Sucka

Sucka (13/54)

18

Reputation

1

Community Answers

  1. addEventHandler("onClientPlayerDamage", localPlayer, function() if wasEventCancelled() then --triggerServerEvent("cancelDetected", localPlayer) end end, false, -999) -- low priority
  2. cursorX, cursorY = getCursorPosition() -- showCursor(false) <-- Use Before Then ... -- showCursor(true) <-- Use After Then screenX, screenY = guiGetScreenSize() setCursorPosition(cursorX*screenX, cursorY*screenY)
  3. Can you write the codes?
  4. function stopUnknownDamage(attacker, damagetype, bodypart) if (damagetype == 55) then --if the no known information about this damage type cancelEvent() --cancel the event end end addEventHandler("onClientPlayerDamage", localPlayer, stopUnknownDamage)
  5. function notifyAboutExplosion(withExplosion, player) -- player: The player who sent the explosion packet. outputChatBox(getVehicleName(source) .. " just blew up") end addEventHandler("onVehicleExplode", root, notifyAboutExplosion)
  6. SetLowLODElement, you can check this function
  7. CastiaL

    Help noob

    I think you are looking for these EngineLoadDFF, EngineLoadTXD, EngineLoadCOL
  8. Fatal error: Uncaught MultiTheftAuto\Sdk\Exception\AccessDeniedException: Access Denied. This server requires authentication. Please ensure that a valid username and password combination is provided. in C:\xampp12\htdocs\vendor\multitheftauto\mtasa-php-sdk\src\Response\HttpStatusValidator.php:48 Stack trace: #0 C:\xampp12\htdocs\vendor\multitheftauto\mtasa-php-sdk\src\Service\MtaService.php(92): MultiTheftAuto\Sdk\Response\HttpStatusValidator->validate() #1 C:\xampp12\htdocs\vendor\multitheftauto\mtasa-php-sdk\src\Model\Resource.php(71): MultiTheftAuto\Sdk\Service\MtaService->callFunction('php', 'getAccount', Array) #2 C:\xampp12\htdocs\index.php(14): MultiTheftAuto\Sdk\Model\Resource->call('getAccount', '******', '*****') #3 {main} thrown in C:\xampp12\htdocs\vendor\multitheftauto\mtasa-php-sdk\src\Response\HttpStatusValidator.php on line 48 im giving this error
  9. Players troll other players by running server-side events, how can I prevent this? For example, they can animate all players using the freeroam script.
  10. Did you assign a value to the "sserial" variable?
  11. CastiaL

    antiban

    open this file: /admin/server/admin_server.lua and search elseif ( action == "ban" ) then search for this line and replace with the following elseif ( action == "ban" ) then if ( hasObjectPermissionTo ( player, "general.adminpanel", true ) ) then return outputChatBox("You can't ban this player", source, 255, 100, 70) end If Banned Player has admin panel Access, it cancels ban. elseif ( action == "kick" ) then if ( hasObjectPermissionTo ( player, "general.adminpanel", true ) ) then return outputChatBox("You can't kick this player", source, 255, 100, 70) end
  12. I Make Parking Light As Seen In The Picture, But as you know, a maximum of 32 Coronas can be created, and when I add 4 coronas in a vehicle, I cannot add lights after 8 vehicles. When I wanted to try the custom_coronas script, I could not attach coronas to the vehicle because attachElements is not working. Is there a way to add more than 32 markers?
×
×
  • Create New...