Quote:
Originally Posted by Msalinas2877
Can you explain more?
|
sure . thank your help
• when first join T or CT team it will auto died
i use this but it bug little bit
Code:
#include <sourcemod>
#include <sdktools>
public Plugin:myinfo =
{
name = "Firstjoin or Antirejoin",
author = "supreeda",
description = "",
version = "1.0",
url = ""
}
public bool:OnClientConnect(client, String:rejectmsg[], maxlen)
{
CreateTimer(25.0, Timer_kill, client);
return true;
}
public Action:Timer_kill(Handle:timer, any:client)
{
if (IsClientInGame(client))
ServerCommand("sm_slay #%d", GetClientUserId(client));
else if (IsClientConnected(client))
CreateTimer(25.0, Timer_kill, client);
}