1. Bird still crash server. Now server is crashing, when CT shot to bird. Ther is not any errors in log files.
2. Maybe add function to disable gain credits on warmup?
3. Maybe add function to disable gain credits when on server is less than 4 players?
4.
Quote:
Originally Posted by Dkmuniz
This is no a bug, that's allright. But if you put [client] works too =D !
|
Now plugin show attacker credits to killed player. I whink, better will be to show attacker credits to attacker.It should be:
Quote:
if(GetClientTeam(attacker) == CS_TEAM_CT)
{
PrintToChat(attacker, "\x04[ SHOP ] \x05%t","KillCT", g_iCreditos[attacker],GetConVarInt(cvarCreditosKill_CT));
}
if(GetClientTeam(attacker) == CS_TEAM_T)
{
PrintToChat(attacker, "\x04[ SHOP ] \x05%t","KillT", g_iCreditos[attacker],GetConVarInt(cvarCreditosKill_T));
}
|
More error in logs (from old version of plugin):
L 10/19/2014 - 13:12:05: [SM] Native "IsClientInGame" reported: Client index -1 is invalid
L 10/19/2014 - 13:12:05: [SM] Displaying call stack trace for plugin "jail_shop.smx":
L 10/19/2014 - 13:12:05: [SM] [0] Line 531, jail_shop.sp::Timer_CheckDamage()
L 10/19/2014 - 13:19:14: [SM] Native "IsClientInGame" reported: Client index -1 is invalid
L 10/19/2014 - 13:19:14: [SM] Displaying call stack trace for plugin "jail_shop.smx":
L 10/19/2014 - 13:19:14: [SM] [0] Line 531, jail_shop.sp::Timer_CheckDamage()