Skip to content

Commit

Permalink
Fix sprays item can be used for free (nuclearsilo583#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
nuclearsilo583 committed Aug 4, 2022
1 parent fe6da15 commit 92e0f90
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sourcemod/scripting/store_item_sprays.sp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public Plugin myinfo =
name = "Store - Item Sprays",
author = "zephyrus, nuclear silo", // If you should change the code, even for your private use, please PLEASE add your name to the author here
description = "",
version = "1.2", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
version = "1.3", // If you should change the code, even for your private use, please PLEASE make a mark here at the version number
url = ""
};

Expand Down Expand Up @@ -78,7 +78,7 @@ public void Sprays_OnMapStart()
PrecacheSound("player/sprayer.wav", true);
}

public void Sprays_OnClientConnected(int client)
public void OnClientConnected(int client)
{
g_iSprayCache[client]=-1;
}
Expand Down
15 changes: 15 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
================================================================================================================================
================================================================================================================================
======================= What updates/files change will be listed here ================================
================================================================================================================================
================================================================================================================================

#Format rules: since I live in Viet Nam so the date format in here is DD/MM/YYYY not MM/DD/YYYY
================================================================================================================================

##########
Update 8/5/2022 : Fix sprays item can be used for free (issue [#92](https://github.com/nuclearsilo583/zephyrus-store-preview-new-syntax/issues/92))
##########
Files changes:
- store_item_sprays.sp
-> Change Sprays_OnClientConnected to OnClientConnected

0 comments on commit 92e0f90

Please sign in to comment.