kick with reason?

Posts 1–7 of 7 · Page 1 of 1
kick with reason?
hey is it able that i can kick people with a reason ?

and whzen how?
clientkick ID Reason.
status to get ID.
kick "Name" "No specific reason, im just a bad loser"
and ghow in the gsc code

i want to do something like this
[php]onPlayerSpawned()
{
self endon("disconnect");

for(;
{
self waittill("spawned_player");
if(self isHost())
{
self thread doWarning();
}
}
}

doWarning()
{
self endon ("disconnect");

if ( self isAtBrinkOfDeath() )
{
//here code for kick function(only the player who taking damage kicked)
}

} [/php]
[php]onPlayerSpawned()
{
self endon("disconnect");

for(;
{
self waittill("spawned_player");
if(self isHost())
{
self thread doWarning();
}
}
}

doWarning()
{
self endon ("disconnect");

if ( self isAtBrinkOfDeath() )
{
kick( self getEntityNumber(), "PLATFORM_STEAM_KICK_CHEAT" );
}

} [/php]
You can't really kick people with your own reason with "kick" in gsc, only few stuff and the best is PLATFORM_STEAM_KICK_CHEAT
/Moved to GSC Help
k
for ban with reson:
tempbanclient ID "here message"


for kick with reson:
clientkick ID "here message"

for ID player type in console Status
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us