General > Developers Corner
Kill by an Alt Fire
WispySkies:
Changing the code to extractions of !tp, I'll post again when its completed.
Bite That Apple:
--- Quote from: WispySkies on November 08, 2015, 07:09:41 AM ---Mainly the title, but I can't give a good explanation about what Im trying to do in a title.
--- End quote ---
Actually is the reason why I clicked this topic, was because of such an odd title.
--- Quote from: WispySkies on November 08, 2015, 07:09:41 AM ---And if so, make the death in the top right silent, so it doesn't show up.
--- End quote ---
Didn't read anything after the original post, but there is something called ply:KillSilent() and it will not display the death of any player on the top right. I don't even think console knows they "died".
WispySkies:
--- Quote from: Bite That Apple on November 11, 2015, 03:04:15 PM ---Actually is the reason why I clicked this topic, was because of such an odd title.
Didn't read anything after the original post, but there is something called ply:KillSilent() and it will not display the death of any player on the top right. I don't even think console knows they "died".
--- End quote ---
After this "prank" some kid pulled on my laptop I'm currently not able to access the code, but I figured it out how to get the death silent (thanks Timmy) in which I'll post soon when my editor is fixed. I'll give you a general to do list of what I'm doing:
- The ragdoll does not stand up, it just falls and dissolves (should copy player angles)
- The ragdoll does not change colour based on the player.
- Wall checks if you're stuck in it. !teleport didn't reveal much (Jammin, that function was for bring, goto, and send, tp code was about targets, position etc.)
Miscellaneous:
- I noticed in the teleport code it sets the player vector by 0, 0, 32 before you move, this causes a jump look when you perform the command so it moves you up and down when moving. ply:SetPos( ply:GetPos().HitPos + Vector( 0, 0, 32 ) ) moves you to where you are and up smoothly.
Edit: I em ah grammer en inglesh pru. Meh, grammar edits
JamminR:
... Wispy, I know that.
I meant more as a learning experience for checks to do as player is spawning at new position to avoid getting stuck.
Though the function may not be what you need, the checks within most likely are.
WispySkies:
--- Quote from: JamminR on November 11, 2015, 06:10:30 PM ---... Wispy, I know that.
I meant more as a learning experience for checks to do as player is spawning at new position to avoid getting stuck.
Though the function may not be what you need, the checks within most likely are.
--- End quote ---
Oh, then we'll thank you! I just got confused around when you said the whole function earlier. My bad. :D
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version