my pc task-manager says not-respond during check in of the script.
the worse the every script does the same thing...........
how to fix this?
Script Below
#include "utility_h"
#include "plt_my_custom_plot"
void main()
{
if ( WR_GetPlotFlag( PLT_MY_CUSTOM_PLOT, MY_ITEM_CHECK_FLAG ) == TRUE )
return;
event ev = GetCurrentEvent();
int nEventType = GetEventType(ev);
switch ( nEventType )
{
case EVENT_TYPE_MODULE_LOAD:
{
UT_AddItemToInventory(R"my_custom_weapon.uti", 1);
UT_AddItemToInventory(R"my_custom_shield.uti", 1);
WR_SetPlotFlag( PLT_MY_CUSTOM_PLOT, MY_ITEM_CHECK_FLAG, TRUE );
break;
}
default:
break;
}
}





Retour en haut






