This person has not released what he's showing in this video, however, you can probably create something like this yourself.
It's just showing message at some distance and playing fx
It uses so many entities wouldn't recommend doing it but it is really simple
Stop smile spamming.
It's just some math and programming basics.
(02-22-2013, 12:16)SailorMoon Wrote: [ -> ]Stop smile spamming.
It's just some math and programming basics.
an example? Give me an example!
: Rolleyes:
Distance function
Code:
public static float Distance(float loc, float loc2)
{
return Math.Abs(loc - loc2);
}
Code:
List<ServerClient> clients = new List<ServerClient>();
clients = GetClients();
if (clients != null) // there's must be MORE than 0 players
{
foreach (ServerClient c in GetClients())
{
if (c.Other.isAlive == true &&
c.ConnectionState != ConnectionStates.MapLoading &&
c.ConnectionState != ConnectionStates.Connecting &&
c.ConnectionState != ConnectionStates.Zombie)
{
if ((Distance(c.OriginY, Y3) <= 100) && (Distance(c.OriginX, X3) <= 100) && Distance(c.OriginZ, Z3) <= 30)
{
// play fx there
}
else
{
}
}
}
}
}
X3, Y3, Z3 are position data of point at map.
(02-22-2013, 12:20)Jone Calerone Wrote: [ -> ] (02-22-2013, 12:16)SailorMoon Wrote: [ -> ]Stop smile spamming.
It's just some math and programming basics.
an example? Give me an example!
: Rolleyes:
Use 'please' next time.
inb4 'how i make this plugin?'
howI mwke the dll????