Author Topic: ServerCmd problems  (Read 3691 times)

I meant something completely different..
Saying something like this usually makes more sense if you explain what you mean

Saying something like this usually makes more sense if you explain what you mean
Where's the problem with clientcmdcrash as long as it doesn't actually crash anything

Where's the problem with clientcmdcrash as long as it doesn't actually crash anything
Oh, I see what you mean
But given the context in the OP, I think it's safe to say that's what it does

Plus it's bad programming practice to give a function an ambiguous name

Plus it's bad programming practice to give a function an ambiguous name
Well it could also be in some sort of rpg where it tells your client that your car has crashed

Well it could also be in some sort of rpg where it tells your client that your car has crashed
Yeah but it's still an ambiguous name
A better name would be something like clientCmdHandleCarCrash



When I said "an add on containing a clientcmdcrash" I meant a function that caused crashes, not a function named exactly that. No doubt a Backdoor would be hidden, and not named obviously

Off the topic of this, what is OP actually trying to do? I'm really confused. Is he trying to crash clients with a servercmd? Is he trying to tell the player their car has crashed? I need some input here.


The point is a SA can crash a user using /crash playername
Im using commandtoclient because crash(); is a predefined function (Type it in the console it actually crashes you). I may be using the wrong command though. I thought commandtoclient is the same as typing a command in the clients console. Am i wrong?

Im using commandtoclient because crash(); is a predefined function (Type it in the console it actually crashes you). I may be using the wrong command though. I thought commandtoclient is the same as typing a command in the clients console. Am i wrong?

commandToClient(%client, 'XYZ', 123); is the same as if %client typed clientCmdXYZ(123); in console.

Am i wrong?
You're wrong in this game because you're trying to crash clients

Just lock this. There is no way to crash clients through the server.

Just lock this. There is no way to crash clients through the server.

Well there is, but it's only possible using control glitches or various other glitches.

Its currently a private addon when banning a player just isnt enough... Ill lock the thread after my issue is resolved

Its currently a private addon when banning a player just isnt enough... Ill lock the thread after my issue is resolved

Banning a player is enough, kicking is also enough, crashing a players entire client is malicious and anyone who helps you is a fool.

You should be banned for admittance to trolling but I doubt it will happen, stop using code for malicious things, it's not going to lead to good places.

Well there is, but it's only possible using control glitches or various other glitches.
I actually meant server commands but whatever.

Its currently a private addon when banning a player just isnt enough... Ill lock the thread after my issue is resolved
Well it isn't exactly private if the method of doing it is posted here, now is it?