AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ESP rings (https://forums.alliedmods.net/showthread.php?t=13676)

123 05-25-2005 10:11

ESP rings
 
Hey.
I'm making a plugin that sets yellow vertical esp rings on the bomb, and red horizontal esp rings on the hostages.
Though I am not that good a scripter, so I need some help from you guys.
I really hope that you can, and will help.

LynX 05-25-2005 12:42

Code ? :lol:
Without code we can't fix it :wink:

123 05-25-2005 14:05

Acually I don't have any code, but if someone will make it ?

Though I have this code, it is from a SuperHero plugin.
Code:
        new players[32]     new pnum, vec1[3]     new idring, id     gRadius = 600     gBright = 192     get_players(players,pnum,"a")     for (new i = 0; i < pnum; i++) {         id = players[i]         if (!gHasDarePower[id]) continue         if (!is_user_alive(id)) continue         for (new j = 0; j < pnum; j++) {             idring = players[j]             if (idring == id) continue             if (!is_user_alive(idring)) continue             if (!get_user_origin(idring,vec1,0)) continue             message_begin(MSG_ONE,SVC_TEMPENTITY,vec1,id)             write_byte( 21 )             write_coord(vec1[0])             write_coord(vec1[1])             write_coord(vec1[2] + 16)             write_coord(vec1[0])             write_coord(vec1[1])             write_coord(vec1[2] + gRadius )             write_short( gSpriteWhite )             write_byte( 0 ) // startframe             write_byte( 1 ) // framerate             write_byte( 6 ) // 3 life 2             write_byte( 8 ) // width 16             write_byte( 1 ) // noise             write_byte( 100 ) // r             write_byte( 100 ) // g             write_byte( 255 ) // b             write_byte( gBright ) //brightness             write_byte( 0 ) // speed             message_end()         }     }
Don't know if you can use that...?

LynX 05-25-2005 14:16

Wait... You want rings that are getting bigger after they are shoot from entity/stuff ?
If thats so, lemme find out mine old code... I'll edit this post.

123 05-25-2005 14:21

It should do the same as the code I posted, so yes they should get bigger, though the radius shall be half the size (300)

123 05-27-2005 19:38

Can you help ????

v3x 05-27-2005 22:58

Quote:

Originally Posted by 123
Can you help ????

Chill b

123 05-28-2005 18:32

Yeah, its just that it has been 3 days, and I really need it.

Silverice146 05-29-2005 04:32

for what? i mean its not like u cant live without it, and im sure there must be something that already written. I wrote this at 12:32 AM so im kinda tired

Code:
boo

Front Line 05-29-2005 08:21

...why say in your firs post that u are newb scriptor and your scritping it when u need help...

idiot


All times are GMT -4. The time now is 16:46.

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