Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <sourcemod>
- // #include <cstrike>
- public OnPluginStart()
- {
- RegConsoleCmd("resetscore", Command_RS);
- RegConsoleCmd("rs", Command_RS);
- }
- public Action:Command_RS(client,i)
- {
- SetEntProp(client, Prop_Data, "m_iFrags", 0);
- SetEntProp(client, Prop_Data, "m_iDeaths", 0);
- // CS_SetClientContributionScore(client, 0);
- // CS_SetMVPCount(client, 0);
- // CS_SetClientAssists(client, 0);
- PrintToChat(client,"[RS] Ваш счёт сброшен!");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement