Author Topic: Assigning a datablock and going back to original  (Read 2181 times)

Haha, I figured it mostly out myself:
Code: [Select]
function IceFreezeProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal)
{
ServerCmdFreezed(%col.client);
}

As you can see, its a different approach (Using onCollision to force the client to to do a command) I just don't know how to schedule it...

Using a server command means people can type /freezed to freeze them self.

Are you trying to help out Trader in making fun of me? I thought you were http://www.blockland.us/smf/index.php?topic=29854.0 gone? BTW, I know someone can freeze themselves, I'm probably going to use a regular function instead.

Or just put in
Code: [Select]
if(%client.isadmin || %client.isSuperadmin)
{
//your stuff
}
so it cant be abused.

Are you trying to help out Trader in making fun of me? I thought you were http://www.blockland.us/smf/index.php?topic=29854.0 gone? BTW, I know someone can freeze themselves, I'm probably going to use a regular function instead.

I was helping... if you care to note I am only posting in coding help, trying to help people as you can't really get much help around here.

Or just put in
Code: [Select]
if(%client.isadmin || %client.isSuperadmin)
{
//your stuff
}
so it cant be abused.

Then the call from his projectile wouldn't work correctly, only admins would be able to be freezed.

Randy and Me figured it out last night. Everyone give Randy a good round of applause. Locked.