HITMANzz
Members-
Posts
30 -
Joined
-
Last visited
Everything posted by HITMANzz
-
Hi well, i know how change cars models, map's elements models but i dont know change skin models. I can change their .TXD but i dont know change the .DFF Somebody knows how do it? Thanks.
-
Hi friends I want know if there is some script for save and load the last team where the player has been. If there is a script, please tell me where i must write it thanks
-
i have found this (It has been created by Borov, an user of this forum): But i dont know how use it. --global variables g_root = getRootElement() cameraFixed = false --custom functions function toggleCameraFixedModeEx(mode) if (mode == false) then toggleCameraFixedMode(false) cameraFixed = false else toggleCameraFixedMode(true) --setCameraLookAt(2000, 2000, 0) cameraFixed = true end end function getCameraModeEx() return cameraFixed end ---places player camera in front of player every frame isFPS = false function turnCamera(cursorX, cursorY, absoluteX, absoluteY, wX, wY, wZ) if (fpsOff() == true) then toggleCameraFixedModeEx(false) return true elseif (getCameraModeEx() == false) then toggleCameraFixedModeEx(true) end setCameraLookAt(wX, wY, wZ) local player = getLocalPlayer() local x,y,z = getElementPosition(player) local r = 0 local dx = wX-x local dy = wY-y local backing = getControlState("backwards") if (dx < 0 and dy >0) then --II r = math.deg((math.atan((wY-y)/(wX-x))))+180 elseif (dx < 0 and dy < 0) then --III r = math.deg((math.atan((wY-y)/(wX-x))))+180 else --I and IV r = math.deg((math.atan((wY-y)/(wX-x)))) end r = r-90 if (r < 0) then r = r + 360 elseif (r > 360) then r = r - 360 end if (backing == false) then setPlayerRotation(player, r) x = x + 0.4 * math.cos(math.rad(r+90)) y = y + 0.4 * math.sin(math.rad(r+90)) if (isPlayerDucked(player) == false) then setCameraPosition(x, y, z+0.7) else setCameraPosition(x, y, z) end end end addEventHandler("onClientCursorMove", g_root, turnCamera) function moveCamera() if (fpsOff() == true) then toggleCameraFixedModeEx(false) return true elseif (getCameraModeEx() == false) then toggleCameraFixedModeEx(true) end local player = getLocalPlayer() --getting new camera position local x,y,z = getElementPosition(player) local r = getPlayerRotation(player) x = x + 0.4 * math.cos(math.rad(r+90)) y = y + 0.4 * math.sin(math.rad(r+90)) if (isPlayerDucked(player) == false) then setCameraPosition(x, y, z+0.7) else setCameraPosition(x, y, z) end end addEventHandler("onClientRender", g_root, moveCamera) function fpsOff() local player = getLocalPlayer() --if (isPlayerInVehicle(player) == true) then --return false if (getControlState("aim_weapon") == true) then return true elseif (isFPS == false) then return true else return false end end function fixCamera ( command, state) if (state == "on") then toggleCameraFixedModeEx(true) isFPS = true elseif (state == "off") then toggleCameraFixedModeEx(false) isFPS = false end end addCommandHandler("fps", fixCamera) function refixCamera(theVehicle, seat) if (isFPS == "true") then toggleCameraFixedModeEx(true) end end addEventHandler("onClientPlayerVehicleEnter", g_root, refixCamera) https://forum.multitheftauto.com/viewtop ... 91&t=22678 i have tried to put it in my gamemode's client and type the command when im playing in my server, but im not doing it well. help me please
-
thaaaankss!! i have done it! it is ok
-
thanks!!! somebody knows where can i get the First Person resource¿? thanks
-
HELLO i want know where can i get the resources that you can see in this videos:
-
Hi!! good work! i downloaded it, but now i have tried to make it private: I have deleted the shops and their blips (No problem) I have tried to put a addcommandhanler in function spawnboard (but it dont run!!!) can you public other skysurf version without shops?? with a command ok? If you want thanks and good work
-
i can fly, but the problem is that normal players can also fly. I want that only admins supermen
-
ok very good!!
-
Thanks i have downloaded imgtool and workshop
-
my zombies dont kill... only walk why???
-
Hello somebody knows where can i get the archives .txd of gta sa peds?? thanks!
-
i love it, i have already downloaded it. good .txd i have cod modernwarfare 2 and this map is very very very similar to arabians maps from COD MW2
-
ok. So i will use client and the players will download the changes when they connect
-
ok thanks for the help
-
HELLO. I have a "problem", i use a home system (resource) and it runs very good with his spawn on home system but i want know how can the players spawn with hiis last skin selected in my server. Now, when someone spawn the skin's selection is random but i dont like it. Where can i change the script or the archive .lua of my Gamemode (i use j-rpg) ... Please give my the solution if you know it thanks!
-
Ok i tried to put; <object name="resource.superman" /> on the ACL admin's zone... so: <group name="Admin"> <acl name="Moderator" /> <acl name="SuperModerator" /> <acl name="Admin" /> <acl name="RPC" /> <object name="resource.superman" /> <object name="resource.superweapons" /> <object name="resource.freeroam" /> <object name="resource.admin" /> <object name="user.HITMANzz" /> </group> but the resources; superman and weapons runs for all players. i have also tried to put: <right name="function.superman" access="false" /> for Default players, moderators and supermoderators and <right name="function.superman" access="true" /> for admins players But it hasnt effects on the rights of the players
-
ok, i thought that client was only visible for my and server for all. But ok. So replaced cars and characters on client will be visible for all THANKS!!
-
ok thanks, i will try it, but im not good
-
Hiii Ok... my problem is that i want put resources only for admins (like; superman, sacheat etc...) but i dont know how do it. I have tried in ACL but i have created an account as normal player for try if normal players can use superman and yes, they can.... Thanks for the help!