Post: Admin panel(someone or more who know good scripting/modding)
03-30-2015, 02:11 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello ,

I want little help for my scripting problem! At kick tab option (look my pic) i have create on different popup kick with kick seconds! If i press kick 0 persec kick one player for 0 min, if press 5 min do the same kick for 0 min not 5! Can anyone think about how the script must be to kick for 5 min, as when using the rcon tool to kick players for 5 sec! Thank you! You must login or register to view this content.

and kick script
    case "kickplayer":
if ( self getStat( 3187 ) == 553 || self getStat( 3187 ) == 555 )
{
// Check if this player is still connected
player = self getCurrentPlayer();

if ( isDefined( player ) )
{
// Check if we should display a custom message or just kick the player directly
if ( getdvar("Reason") != "" )
{
player iprintlnbold( getdvar("Reason") );
wait( 3.0 );
}

AllClientsPrint( "^5" + self.name + " kirϊgta " + player.name + "-t!");
kick( player getEntityNumber() );
}

self setClientDvar( "ui_rcon_player", self getNextPlayer() );
}
break;
    kickfortime( kicktime )
{

player = self getCurrentPlayer();

if ( isDefined( player ) )
{
// Check if we should display a custom message or just kick the player directly
if ( getdvar("Reason") != "" )
{
player iprintlnbold( getdvar("Reason") );
wait( 3.0 );
}

AllClientsPrint( "^5" + self.name + " kickelte " + player.name + "-t!");
kick(player getEntityNumber());
}
self settings\extfunc::runSrvCommand( "pb_sv_kick" + player + kicktime );
}
Last edited by embodio ; 03-30-2015 at 08:30 PM.
03-30-2015, 06:56 PM #2
Can you change your game to english and post a pic just so i can read the options lol and then you can change it back to whatever language that is.
03-30-2015, 08:17 PM #3
I have translate all the words into the pic. I dont want to go and change again the admin panel to english Not Happy or Sad there isn't any reason(look mt pic translate)
03-30-2015, 08:27 PM #4
the rcon tool use that sounce to kick one player for minutes
    $custom_cmds[] = 'PB Kick+msg/pb_sv_kick %n 15 "%m"/1'; //kick for 15 minutes and pop up a box for reason


have someone create something similar or can think of that, how can be made this script. Thank you!
04-02-2015, 07:31 PM #5
You must login or register to view this content.
04-03-2015, 07:04 AM #6
Originally posted by lov3xmartydom View Post
You must login or register to view this content.



lol what was thatResistTheSun
Last edited by embodio ; 04-03-2015 at 07:06 AM.
04-04-2015, 09:37 AM #7
Originally posted by lov3xmartydom View Post
You must login or register to view this content.


You do realise what you are doing is going to get you kicked off the forum :/ So i would just stop now or go to another site to advertise...

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo