Jump to content

Castillo

Retired Staff
  • Posts

    21,935
  • Joined

  • Last visited

  • Days Won

    6

Everything posted by Castillo

  1. You can't change the limits, but maybe you can do something to imitate it.
  2. If I'm right, DayZ script uses a table with coordinates to spawn random items there, but since the game mode is compiled, I can't make sure of this.
  3. I'm not sure, but you may be able to add more item locations at "editor_server.lua".
  4. Instead of using a timer when the player spawns, just use the 'onClientVehicleEnter' event. function ( ) setVehicleHeadLightColor ( source, 0, 255,0 ) setVehicleColor( source, 0, 0, 255 ) end addEventHandler ( "onClientVehicleEnter", getRootElement(), )
  5. Sharing more information won't hurt you.
  6. Castillo

    Any one knows?

    Depends on the kind of game mode you like.
  7. I must ask you to continue this conversation over PM, as it has nothing to do with the topic.
  8. That's what I though. You're welcome.
  9. I tested it and it works perfect as it is.
  10. It should work, are you sure that you're copying it?
  11. ma = createMarker ( x, y, z, "cylinder", 4, 0, 0, 255, 225 ) addEventHandler ( "onMarkerHit", ma, function ( hitElement ) if ( getElementType ( hitElement ) == "player" ) then triggerClientEvent ( hitElement, "wii", hitElement ) end end )
  12. ma = createMarker (x,y,z, "cylinder", 4, 0, 0, 255, 225 ) addEventHandler ( "onMarkerHit", ma, function ( hitElement ) triggerClientEvent ( hitElement, "wii", hitElement ) end )
  13. local myPed = createPed ( 15, 0, 0, 0 ) local myShader = dxCreateShader ( args ) engineApplyShaderToWorldTexture ( myShader, "*", myPed )
  14. We don't give support with leaked scripts. Topic locked.
  15. Castillo

    [HELP]job

    We don't give support with leaked scripts. Topic locked.
  16. Because a 300 USD script won't be the same as a 25 USD one.
  17. It would require a powerful host.
  18. You must have a resource making his own chatbox outputs.
  19. local blockc = false function bbc ( source ) local accName = getAccountName ( getPlayerAccount ( source ) ) if isObjectInACLGroup ( "user."..accName, aclGetGroup ( "Admin" ) ) then if ( blockc == true ) then outputChatBox ( "#FFFF00* GM ".. getPlayerName ( source ) .."#00FF00 normalizou o chat para demais usuários.", getRootElement(), 255, 255, 255, true ) blockc = false else outputChatBox ( "#FFFF00* GM ".. getPlayerName ( source ) .."#00FF00 trancou o chat para demais usuários.", getRootElement(), 255, 255, 255, true ) blockc = true end else outputChatBox ( "#ffff00Access denied.", source, 255, 255, 255, true ) end end addCommandHandler ( "chat", bbc ) addEventHandler ( "onPlayerChat", root, function ( ) if ( blockc ) then cancelEvent ( ) end end )
  20. I don't understand what you said.
  21. You must cancel the 'onPlayerChat' event when the chat is blocked.
  22. Pusiste "cplayer", la "p" de player tiene que estar con mayuscula.
×
×
  • Create New...