- 
                Posts1,143
- 
                Joined
- 
                Last visited
- 
                Days Won43
Everything posted by Patrick
- 
	How the string looks like? paste it here
- 
	Hi. You have to convert JSON to Lua array with fromJSON. (probably callRemote do it automatically)
- 
	You can use getPlayerIdleTime, thats make it really easy.
- 
	If everyone has to see, call it on server side. Try to find which resource use the most CPU with performancebrowser: https://wiki.multitheftauto.com/wiki/Resource:Performancebrowser - use the following option to see detailed informations: d
- 
	Hi. 170 markers should not cause continuous FPS drops, after creation. Maybe you have an onClientRender event where you loop trough these markers in every frame? Or something similar?
- 
	@Maruchan (Please name your threads properly, instead of "help me pls". This isn't the first time I have renamed it. Thanks.)
- 
	yes
- 
	No need detachAll before ped destroying anymore, it does it automatically for you. But test it please, the warning still appears or not?
- 
	@cocowen Probably fixed, can you try with latest version? download here
- 
	pAttach and bone_attach use different parameters (different bone IDs / offsets), you have to reposition them. It isn't enough to just copy/paste them. For weapons mostly you have to use: addCommandHandler("testweapon", function(player) local object = createObject(356, 0, 0, 0) exports.pAttach:attach(object, player, "weapon", 0, 0, 0, 0, 0, 0) end)
- 
	You have to detach objects first with detachAll. (I'll fix it in next release)
- 
	I can't reproduce it, can you send me a proper example resource? ... btw the problem is the ped (element), not the 'object'. Where 'element' defined, and is it on server or client side?
- 
	If you attach object on client-side? No, others can't see it, only the client.
- 
	On client side functions return true or false, depeding on it was successful or not. (For example: attach returns true if objects attached successfully, and false if not) But on server side (almost) always returns true, even if it failed. (because it returns the result of triggerClientEvent)
- 
	  attempt to call global 'attemptRegister'-nil valuePatrick replied to gyrosos14's topic in Hungarian / Magyar Olyan sort próbálsz meg insertelni, aminek az elsődleges kulcsa már létezik egy másik sornál. Nem lehet két sorod azonos elsődleges kulcsal.
- 
	  attempt to call global 'attemptRegister'-nil valuePatrick replied to gyrosos14's topic in Hungarian / Magyar Igen, ha külön resourceban van a csatlakozás, akkor azt a resource-t ("mysql") nem szabad újraindítani és elsőként kell elindítani.
- 
	  attempt to call global 'attemptRegister'-nil valuePatrick replied to gyrosos14's topic in Hungarian / Magyar Akkor meg rossz a query, mindig ad vissza sorokat. iprint-el írasd ki a bans táblát és nézd meg mi van benne, vagy phpMyAdmin-ban futtasd le kézzel a SELECT-et. Lehetséges, hogy nem jó az expiraton és olyat is visszaad amit nem kéne.
- 
	  attempt to call global 'attemptRegister'-nil valuePatrick replied to gyrosos14's topic in Hungarian / Magyar Nem adhat vissza true-t ha sehol nem returnolsz true-t, valahol máshol lesz vele valami.
- 
	  attempt to call global 'attemptRegister'-nil valuePatrick replied to gyrosos14's topic in Hungarian / Magyar Nem létezik olyan functionod, hogy 'attemptRegister'. triggerServerEvent-et akartál használni gondolom, csak elírtad.
- 
	Maybeee, idk. I tried to reproduce what you did in the video, but I can't. Works fine for me.
- 
	Wrong language, moved to Portuguese section.
- 
	Wrong language, moved to Spanish section.
- 
	Wrong language, moved to Portuguese section.
- 
	Wrong language, moved to Spanish section.

 
            
        