1 // Property of Alientrap/AK
2 // custom/player/name.qc
12 String_EntitySet( self, value, cvar_string( "_cl_name" ) );
13 String_EntitySet( self, _syncValue, self.value );
17 cmd( strcat( "name \"", self.value, "\"\n" ) );
18 String_EntitySet( self, _syncValue, self.value );
21 void() _IDNN_Test_Start =
23 cmd( strcat( "name \"", self.value, "\"\n" ) );
26 void() _IDNN_Test_End =
28 String_EntitySet( self, value, self._syncValue );
29 cmd( strcat( "name \"", self.value, "\"\n" ) );
34 String_EntitySet( self, value, self.defValue );
38 void( float pEvent ) Item_Data_Nex_Name_DataEvent =
50 case ITEM_DATA_TEST_START:
53 case ITEM_DATA_TEST_END:
59 void() Item_Data_Nex_Name_Spawn =
63 self._reinit = _IDNN_Sync;
64 self._dataEvent = Item_Data_Nex_Name_DataEvent;