Jump to content

MIKI785

Members
  • Posts

    1,131
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by MIKI785

  1. As far as i know it works like a wild card.. so if you search for b, it will return anything that contains b, so for example ab, abc, or bc..
  2. MIKI785

    Help wins

    Why do you define Wins if you don't use it? And thePlayer is nil.
  3. If the dimension was different he wouldn't be able to see them at all, i mean the collisions.
  4. MIKI785

    The last reply

    It's not that easy.
  5. You can disable server commands like login/logout etc. through onPlayerCommand but you can't disable client commands, such as connect, reconnect etc. it makes sense since they are in the client itself.
  6. What the? Is that it? That's about half of the config missing... replace it with the original and edit it again.
  7. viewtopic.php?f=131&t=72042 I support that though... but i don't think that there are as many CZ/SK people here. Btw. it wouldn't be just Czech, it would be Czech/Slovak because both languages are very similar and we understand each other.
  8. What about this? math.pi Isnt that actually the same?
  9. If you want to make it completely without collisions then use setElementCollisionsEnabled and it can be used server-sided as well.
  10. There is no such flag, https://wiki.multitheftauto.com/wiki/Weapon_Flags. Maybe i'm wrong, im not sure how those work but you didn't specify if it should be enabled or not, the last argument is missing.
  11. MIKI785

    ACL rights

    Put this in the admin ACL: <right name="function.addAccount" access="true" />
  12. MIKI785

    The last reply

    On the right under smilies you got view more smilies
  13. I have Debian 7 as well and never had any problem with server crashing/shutting down. Are you sure the VPS didn't reboot? Check the uptime.
  14. The port is wrong, get the HTTP port from config or use getServerHttpPort in runcode for example.
  15. Of course it's not working if you define the nick once... local screenWidth, screenHeight = guiGetScreenSize ( ) function createText ( ) dxDrawText ( getPlayerName(localPlayer), 970, screenHeight - 27, screenWidth, screenHeight, tocolor ( 255, 255, 255, 255 ), 2, "arial" ) end function HandleTheRendering ( ) addEventHandler ( "onClientRender", root, createText ) -- keep the text visible with onClientRender. end addEventHandler ( "onClientResourceStart", resourceRoot, HandleTheRendering )
  16. That's really nice, i hope you're still working on it.
  17. thePlayer is equal to "ready"... addCommandHandler
  18. That's simply not possible. getPlayerName will always return current nick, it's impossible.
  19. Function inside a function, really? It doesn't work because thePlayer is the string "ready" (the command) in unfreezeDft.
  20. You don't need to restart anything.. Just when you draw the text the first argument in dxDrawText is the string to be drawn, use getPlayerName(localPlayer) there.. just change localPlayer if it's different player.
  21. I really don't understand what you're trying to do. Why would you restart all running resources?
  22. MIKI785

    3d text

    3D text? Like using dxDrawText? When you set the position of the text use getScreenFromWorldPosition with the player's position.
  23. I think so, it works the same way as cancelEvent.
  24. So i guess you're doing this client-sided... getResources is server-only function. You'll have to use triggerClientEvent to send the list of resources to the client.
  25. 12k objects? You can have so many objects in samp? Because as far as i know there are extreme limitations in samp, the streamer always sucked. Anyways, good job.
×
×
  • Create New...