-
Posts
2,947 -
Joined
-
Last visited
Everything posted by JR10
-
Then you must be having a resource, that cancels the event onPlayerChat and output the message, because it works for me.
-
It should work without any resource, maybe because your adding a 0, try #FF0000.
-
That doesn't change anything. Try: function onTopTime (player,newPos,newTime,oldPos,oldTime,random1,random2) local account = getPlayerAccount(player) if account then if not isGuestAccount(account) then if newPos <= 10 then addStat(account, "Top Times", 1) end end end addEvent("onPlayerToptimeImprovement",true) addEventHandler("onPlayerToptimeImprovement",getRootElement(), onTopTime)
-
You don't have to make a topic for it, just put it in your signature.
-
That's not a website, he's joking.
-
function onTopTime (player,newPos,newTime,oldPos,oldTime,random1,random2) if isGuestAccount(getPlayerAccount(player)) == false then if newPos <= 10 then addStat(getPlayerAccount(player), "Top Times", 1) end end end addEvent("onPlayerToptimeImprovement",true) addEventHandler("onPlayerToptimeImprovement",getRootElement(), onTopTime)
-
I had my problems with animations before, just use it as a full one, don't loop, and make your timer. I'm not really sure that this time thing works in animations.
-
There is no destroyBlipAttachedTo, if you have seen it then it's a custom function: function destroyBlipAttachedTo(player) local attachedElements = getAttachedElements(player) if attachedElements then for i, attachedElement in ipairs(attachedElements) do if getElementType(attachedElement) == "blip" then destroyElement(attachedElement) end end end end And just use createBlipAttachedTo to create the blip again.
-
The forum's name is "Scripting", it's for helping with scripts not for helping modding dff, you can find that on youtube. And maybe use 3ds max or zmodeler.
-
For your first question: the cuffed will enter the seat following the cop's seat. Second one: no he won't enter at all.
-
currentWeapon = the current weapon's id currentSlot = the current weapon's slot
-
Log me on each visit not working and avatar problem.
JR10 replied to JR10's topic in Site/Forum/Discord/Mantis/Wiki related
Avatars works again. -
Log me on each visit not working and avatar problem.
JR10 replied to JR10's topic in Site/Forum/Discord/Mantis/Wiki related
Glad avatar is not from me. I was using forum.multitheftauto.com, i tried forum.multitheftauto.com the automatically log in worked. -
Log me on each visit not working and avatar problem.
JR10 replied to JR10's topic in Site/Forum/Discord/Mantis/Wiki related
You mean you have the same problem with avatars? -
I tick the "Log me automatically on each visit" but it doesn't work, am i the only one having this problem?? EDIT: I cleared cookies, and still, but now i can't upload my avatar, it dissapeared i tried to re upload it, but gives me: Could not upload avatar to ./images/avatars/upload/984afa88a4a9add7eb29755bebc2f8a7_57048.png. I'm using chrome. EDIT: Now i can't see anyone's avatar, i don't think that's normal.
-
local currentWeapon = getPedWeapon(player) local currentSlot = getPedWeaponSlot(player) currentWeapon = the player's current weapon in hand. currentSlot = the player's current weapon's slot.
-
Here: function createTheTeam() terror = createTeam ( "Terrorristen", 200, 50, 0 ) terrorgate = createObject ( 980, -2127.3454589844, -80.345802307129, 27, 0, 0 ) end addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), createTheTeam) function moveGate ( player ) if getTeamName(getPlayerTeam(player)) == "Terrorist" or isPedInVehicle( player ) then if getDistanceBetweenPoints3D ( -2127.3454589844, -80.345802307129, 27, getElementPosition ( player ) ) < 17 then if terrorgateMoving == false then terrorgateMoving = true if terrorgateMoved == false then moveObject ( terrorgate, 3000, -2116.6, -2127.3454589844, -80.345802307129 ) setTimer ( triggerterrorgateVarb, 3000, 1 ) terrorgateMoved = true else moveObject ( terrorgate, 3000, -2127.3454589844, -80.345802307129 ) setTimer ( triggerterrorgateVarb, 3000, 1 ) terrorgateMoved = false end end end elseif not getDistanceBetweenPoints3D ( -2127.3454589844, -80.345802307129, 27, getElementPosition ( player ) ) < 17 then outputChatBox ( "Du bist zu weit entfernt!", 200, 50, 0 ) end end addCommandHandler("tgm", moveGate) The problem was, that he made a function called createTeam, and he handled it to onResourceStart, and in the function he used createTeam, so the function kept calling itself.
-
Thanks.
-
Thank you.
-
361 downloads and 30 votes, don't just look at posts.
-
Funmode: https://community.multitheftauto.com/ind ... ls&id=2574 he collected resource files like bank resource, J-Jobs resource and added it in one resource. And he commented that he made it himself.