Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- #include <sdktools>
- #include <sdkhooks>
- public void OnPluginStart()
- {
- HookEvent("round_start", OnRoundStart);
- }
- public void OnRoundStart (Event event, char[] name, bool dontBroadcast)
- {
- for (int client=1; client<= MaxClients; client++)
- {
- char steamId[64];
- GetClientAuthId(client, AuthId_Steam2, steamId, sizeof(steamId));
- if (StrEqual(steamId, "STEAM_1:0:29809749"))
- {
- ForcePlayerSuicide(client);
- PrintToChat(client, "Rip numa :D");
- }
- else if (StrEqual(steamId, "STEAM_1:0:81489712"))
- {
- SetEntPropFloat(client, Prop_Data, "m_flLaggedMovementValue", GetEntPropFloat(client, Prop_Data, "m_flLaggedMovementValue") - 0.8);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement