clientkick ID Reason.
status to get ID.
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"
www.YouTube.com/MpKiller100
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]
Last edited by TrueTom96; 11-06-2010 at 09:16 AM.
k
for ban with reson:
tempbanclient ID "here message"
for kick with reson:
clientkick ID "here message"
for ID player type in console Status
[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