Jump to content

Y_MAN

Members
  • Posts

    21
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Y_MAN's Achievements

Civilian

Civilian (7/54)

0

Reputation

  1. function displayVehicleLoss(loss) if getVehicleOccupant(source) then cancelEvent() end end addEventHandler("onVehicleDamage", getRootElement(), displayVehicleLoss)
  2. I wrote this morning detected the 1.4 error. I deleted 1.4 folder. I installed the 1.3.5 folder was 1.4. I save the mod folder. I uninstalled 1.4 MTA. I installed the 1.4 I installed 1.3.5 I unstalled 1.4 MTA. I installed 1.4 is a separate folder. I played version 1.3.5 server. Back to copied version 1.3.5 MTA saved into mods folder. The trouble isvain I saved the mods folder 1.4 is not detected, why?
  3. I think it is an excellent idea is to change the texture of an object. Such a function is not yet in MTA. setObjectMaterial(object theObject, int materialindex, int modelid, string txdname, string texturename, int r = 0, int g = 0, int b = 255, int a = 255)
  4. Well, I do not understand. In what is wrong? What is the solution? Write your example!
  5. What error? Client silde script: lua:22: Bad argument @ 'addEventHandler' [Expected function at argument 3, got nil] lua:42: Bad argument @ 'addEventHandler' [Expected function at argument 3, got nil] addEventHandler("onClientResourceStart",resourceRoot,ObjectCreate) function ObjectCreate() local counter = 1 for i = 1,50000 do createObject (3334,10,10+value,10+value) counter = counter + 1 end outputConsole(string.format("%d object created",counter),resourceRoot) end addEventHandler("onClientResourceStart", getRootElement(),hideHUD) function hideHUD() showPlayerHudComponent("all", false) end
  6. Stunt / Freeroam 10-20 thousand object server a is not enough!
  7. Where can I find it well written lua streamer? Exists is not any.
  8. Is much more effective when there are 80 thousand objects. Is much more effective when there are 80 thousand objects. Why is it difficult to understand? MTA freezes the item you have 30 to 40 thousand. Why not be a function createDynamicObject by default? Is much more effective when there are hundreds of thousands of objects.
  9. I see you do not understand. Why is they can not operate the treatment of object than the SAMP Incognito streamer plugin's?
  10. But it is only in C + + running on an appropriate rate.
  11. Not be serious that this will work in lua appropriate speed. This should be implemented on the server.
  12. I really do not want to understand. This can be solved much more! I do not want to appear at the same time 65 thousand objects. The problem is that the MTA client to download all coordinate. If you have a 65k object, then it takes quite a while! Objects stored in the server side with the coordinates. Retrieves a the coordinates of the player, the server side. If an object is close to a player can create her subject. When the player is away from from the object and then deleted. This, of course, all the server side!
  13. If there are more than 65,365 object we create freeze the MTA. I I would ask that the when there will be the inflating number of objects? Because 65365 is very little!
×
×
  • Create New...