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) {
|
||||
// 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");
|
||||
MESSAGE_END();
|
||||
}
|
||||
|
@ -38,7 +38,7 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
OutputFile="Debug/cstrike_amxx_debug.dll"
|
||||
OutputFile="Debug/cstrike_amxx.dll"
|
||||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ModuleDefinitionFile=""
|
||||
|
Loading…
Reference in New Issue
Block a user