Fixed cs_set_user_armor()
This commit is contained in:
parent
ad732d7286
commit
01cc4a1bad
|
@ -383,7 +383,7 @@ static cell AMX_NATIVE_CALL cs_set_user_armor(AMX *amx, cell *params) // cs_set_
|
||||||
|
|
||||||
if (params[3] == CS_ARMOR_KEVLAR || params[3] == CS_ARMOR_ASSAULTSUIT) {
|
if (params[3] == CS_ARMOR_KEVLAR || params[3] == CS_ARMOR_ASSAULTSUIT) {
|
||||||
// And send appropriate message
|
// And send appropriate message
|
||||||
MESSAGE_BEGIN(params[1], GET_USER_MSG_ID(PLID, "ItemPickup", NULL), NULL, pPlayer);
|
MESSAGE_BEGIN(MSG_ONE, GET_USER_MSG_ID(PLID, "ItemPickup", NULL), NULL, pPlayer);
|
||||||
WRITE_STRING(params[3] == CS_ARMOR_KEVLAR ? "item_kevlar" : "item_assaultsuit");
|
WRITE_STRING(params[3] == CS_ARMOR_KEVLAR ? "item_kevlar" : "item_assaultsuit");
|
||||||
MESSAGE_END();
|
MESSAGE_END();
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
Name="VCCustomBuildTool"/>
|
Name="VCCustomBuildTool"/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCLinkerTool"
|
Name="VCLinkerTool"
|
||||||
OutputFile="Debug/cstrike_amxx_debug.dll"
|
OutputFile="Debug/cstrike_amxx.dll"
|
||||||
LinkIncremental="1"
|
LinkIncremental="1"
|
||||||
SuppressStartupBanner="TRUE"
|
SuppressStartupBanner="TRUE"
|
||||||
ModuleDefinitionFile=""
|
ModuleDefinitionFile=""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user