AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Show names even with semiclip (https://forums.alliedmods.net/showthread.php?t=86565)

Pinatz 02-27-2009 14:18

Show names even with semiclip
 
Hey all =)
I needed a good semiclip for a highspeed mod ( 2000 Units/s ( Should be the velocity value that get_speed gives out)) and found this semiclip here ->
https://forums.alliedmods.net/showpo...57&postcount=7
It is the best semiclip I've ever had. No stucking even with lagging people.
But the problem I have is that the player names are not shown any more when you look at them.

So I tried to write a little task that is accessed every 0.5 secs on each player.
Code:

new target,body_part,name[25]
    get_user_aiming(i, target, body_part)
    if(1 <= target <= 32){
        get_user_name(target, name, 24)
        client_print(i, print_center, "%s", name)
    }

It just does not get any id (return of get_user_aiming = 0). It's just as if you would look through the enemy. Maybe because the semiclip does not make the player solid after making him nonsolid.
Ah now I understand everything in the method. Nice thing. But it makes all player nonsolid all the time. Only near teleports and trigger hurts it makes them solid.

How can I solve the problem easily?

Is there another Semiclip that is as good as this one for high speeds and allows you to knife(give damage) to other players?
I had one but the problem was that it was laggy in the internet.


All times are GMT -4. The time now is 17:02.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.