if ( Cvars :: teleport && GetAsyncKeyState ( Cvars :: tp_key ) ) { IEntity * entity = nullptr ; if ( Cvars :: tp == 1 ) entity -> SetPos ( Cvars :: TeleportPositions1 ) ; if ( Cvars :: tp == 2 ) entity -> SetPos ( Cvars :: TeleportPositions2 ) ; if ( Cvars :: tp == 3 ) entity -> SetPos ( Cvars :: TeleportPositions3 ) ; if ( Cvars :: tp == 4 ) entity -> SetPos ( Cvars :: TeleportPositions4 ) ; }
GetKeyState ( VK_ADD ) & 0x8000